#9A2CD4#9A2CD4

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

Color values

HEX#9A2CD4
RGBrgb(154, 44, 212)
HSLhsl(279, 66%, 50%)
HSVhsv(279, 79%, 83%)
CMYKcmyk(27.4%, 79.2%, 0%, 16.9%)
CIE-LABlab(43.40, 69.00, -64.68)
CIE-LCHlch(43.40, 94.58, 316.85°)
OKLaboklab(54.34% 0.1552 -0.1836)
OKLCHoklch(54.34% 0.24 310.2)
XYZxyz(26.1084, 13.4254, 63.4906)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CD4 #66D42C
analogous
#462CD4 #9A2CD4 #D42CBA
triadic
#9A2CD4 #D49A2C #2CD49A
tetradic
#9A2CD4 #D4462C #66D42C #2CBAD4
square
#9A2CD4 #D4462C #66D42C #2CBAD4
split-complementary
#9A2CD4 #BAD42C #2CD446
monochromatic
#50176F #7521A2 #9A2CD4 #B25FDE #CB92E9

Accessibility & contrast

On white

5.70
#9A2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CD4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CD4#FFFFFF#000000##FFFFFF
##9A2CD41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#925781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a2cd4;
/* rgb */ color: rgb(154, 44, 212);
/* oklch */ color: oklch(54.3% 0.240 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd73e2',
    500: '#9a2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cd4;
$custom-light: #bd73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cd4",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 279.286,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.24035,
    "h": 310.2
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#9A2CD4
secondary
#A2D388
accent
#E93F7A
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #9A2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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