#9B62DD#9B62DD

#9B62DD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.183 H 302.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9B62DD
RGBrgb(155, 98, 221)
HSLhsl(268, 64%, 63%)
HSVhsv(268, 56%, 87%)
CMYKcmyk(29.9%, 55.7%, 0%, 13.3%)
CIE-LABlab(52.87, 47.09, -54.53)
CIE-LCHlch(52.87, 72.05, 310.81°)
OKLaboklab(61.35% 0.0991 -0.154)
OKLCHoklch(61.35% 0.183 302.7)
XYZxyz(30.9334, 20.9244, 70.8017)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B62DD #A4DD62
analogous
#6266DD #9B62DD #D962DD
triadic
#9B62DD #DD9B62 #62DD9B
tetradic
#9B62DD #DD6266 #A4DD62 #62DDD9
square
#9B62DD #DD6266 #A4DD62 #62DDD9
split-complementary
#9B62DD #DDD962 #66DD62
monochromatic
#5E23A2 #7B30D2 #9B62DD #BB94E8 #DBC7F3

Accessibility & contrast

On white

4.05
#9B62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9B62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B62DD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B62DD#FFFFFF#000000##000000
##9B62DD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE1
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#8F7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b62dd;
/* rgb */ color: rgb(155, 98, 221);
/* oklch */ color: oklch(61.4% 0.183 302.7);
Tailwind
colors: {
  custom: {
    50: '#bc91e8',
    500: '#9b62dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b62dd;
$custom-light: #bc91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b62dd",
  "rgb": {
    "r": 155,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 267.805,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.1831,
    "h": 302.7
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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