#9245CA#9245CA

#9245CA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.201 H 307.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9245CA
RGBrgb(146, 69, 202)
HSLhsl(275, 56%, 53%)
HSVhsv(275, 66%, 79%)
CMYKcmyk(27.7%, 65.8%, 0%, 20.8%)
CIE-LABlab(45.13, 55.34, -56.17)
CIE-LCHlch(45.13, 78.85, 314.58°)
OKLaboklab(55.11% 0.1227 -0.159)
OKLCHoklch(55.11% 0.201 307.7)
XYZxyz(24.6406, 14.6318, 57.3918)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245CA #7DCA45
analogous
#4F45CA #9245CA #CA45BF
triadic
#9245CA #CA9245 #45CA92
tetradic
#9245CA #CA4F45 #7DCA45 #45BFCA
square
#9245CA #CA4F45 #7DCA45 #45BFCA
split-complementary
#9245CA #BFCA45 #45CA4F
monochromatic
#512174 #722FA3 #9245CA #AE75D8 #CAA4E5

Accessibility & contrast

On white

5.35
#9245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9245CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245CA#FFFFFF#000000##FFFFFF
##9245CA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#296CC7
Tritanopia (blue-blind)
#896182
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9245ca;
/* rgb */ color: rgb(146, 69, 202);
/* oklch */ color: oklch(55.1% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#b67edb',
    500: '#9245ca',
    950: '#000000',
  },
}
SCSS
$custom: #9245ca;
$custom-light: #b67edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9245ca",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 274.737,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.20083,
    "h": 307.7
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#9245CA
secondary
#B1D299
accent
#DF4988
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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