#9A62DD#9A62DD

#9A62DD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.183 H 302.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9A62DD
RGBrgb(154, 98, 221)
HSLhsl(267, 64%, 63%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(30.3%, 55.7%, 0%, 13.3%)
CIE-LABlab(52.76, 46.85, -54.71)
CIE-LCHlch(52.76, 72.03, 310.57°)
OKLaboklab(61.25% 0.0978 -0.1545)
OKLCHoklch(61.25% 0.183 302.3)
XYZxyz(30.7423, 20.8258, 70.7928)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A62DD #A5DD62
analogous
#6267DD #9A62DD #D762DD
triadic
#9A62DD #DD9A62 #62DD9A
tetradic
#9A62DD #DD6267 #A5DD62 #62DDD7
square
#9A62DD #DD6267 #A5DD62 #62DDD7
split-complementary
#9A62DD #DDD762 #67DD62
monochromatic
#5D23A2 #7A30D2 #9A62DD #BA94E8 #DBC7F3

Accessibility & contrast

On white

4.07
#9A62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9A62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A62DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A62DD#FFFFFF#000000##000000
##9A62DD1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE1
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#8D7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a62dd;
/* rgb */ color: rgb(154, 98, 221);
/* oklch */ color: oklch(61.3% 0.183 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb91e8',
    500: '#9a62dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a62dd;
$custom-light: #bb91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a62dd",
  "rgb": {
    "r": 154,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 267.317,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.18288,
    "h": 302.3
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#9A62DD
secondary
#CFE4B7
accent
#CC197B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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