#9245CB#9245CB

#9245CB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.202 H 307.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9245CB
RGBrgb(146, 69, 203)
HSLhsl(274, 56%, 53%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.1%, 66%, 0%, 20.4%)
CIE-LABlab(45.19, 55.57, -56.64)
CIE-LCHlch(45.19, 79.35, 314.45°)
OKLaboklab(55.18% 0.1226 -0.1603)
OKLCHoklch(55.18% 0.202 307.4)
XYZxyz(24.7594, 14.6794, 58.0174)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CB #7ECB45
analogous
#4F45CB #9245CB #CB45C1
triadic
#9245CB #CB9245 #45CB92
tetradic
#9245CB #CB4F45 #7ECB45 #45C1CB
square
#9245CB #CB4F45 #7ECB45 #45C1CB
split-complementary
#9245CB #C1CB45 #45CB4F
monochromatic
#512175 #722EA5 #9245CB #AE75D8 #CAA5E6

Accessibility & contrast

On white

5.34
#9245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9245CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CB#FFFFFF#000000##FFFFFF
##9245CB1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#896282
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9245cb;
/* rgb */ color: rgb(146, 69, 203);
/* oklch */ color: oklch(55.2% 0.202 307.4);
Tailwind
colors: {
  custom: {
    50: '#b67edc',
    500: '#9245cb',
    950: '#000000',
  },
}
SCSS
$custom: #9245cb;
$custom-light: #b67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9245cb",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 274.478,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.20187,
    "h": 307.4
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#9245CB
secondary
#B2D399
accent
#E04889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9245CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva