#9A2CD3#9A2CD3

#9A2CD3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.3% C 0.239 H 310.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A2CD3
RGBrgb(154, 44, 211)
HSLhsl(280, 65%, 50%)
HSVhsv(280, 79%, 83%)
CMYKcmyk(27%, 79.1%, 0%, 17.3%)
CIE-LABlab(43.32, 68.80, -64.22)
CIE-LCHlch(43.32, 94.12, 316.97°)
OKLaboklab(54.26% 0.1554 -0.1822)
OKLCHoklch(54.26% 0.239 310.5)
XYZxyz(25.9827, 13.3751, 62.8283)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CD3 #65D32C
analogous
#472CD3 #9A2CD3 #D32CB8
triadic
#9A2CD3 #D39A2C #2CD39A
tetradic
#9A2CD3 #D3472C #65D32C #2CB8D3
square
#9A2CD3 #D3472C #65D32C #2CB8D3
split-complementary
#9A2CD3 #B8D32C #2CD347
monochromatic
#50176E #7521A0 #9A2CD3 #B25FDE #CA91E8

Accessibility & contrast

On white

5.71
#9A2CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9A2CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CD3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CD3#FFFFFF#000000##FFFFFF
##9A2CD31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#925780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a2cd3;
/* rgb */ color: rgb(154, 44, 211);
/* oklch */ color: oklch(54.3% 0.239 310.5);
Tailwind
colors: {
  custom: {
    50: '#bd73e1',
    500: '#9a2cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cd3;
$custom-light: #bd73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cd3",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 279.521,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.23947,
    "h": 310.5
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#9A2CD3
secondary
#A2D388
accent
#E83F79
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2CD3

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2CD3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva