#9B62DF#9B62DF

#9B62DF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.185 H 302.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9B62DF
RGBrgb(155, 98, 223)
HSLhsl(267, 66%, 63%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(30.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(52.98, 47.57, -55.48)
CIE-LCHlch(52.98, 73.08, 310.61°)
OKLaboklab(61.48% 0.0991 -0.1568)
OKLCHoklch(61.48% 0.185 302.3)
XYZxyz(31.2015, 21.0316, 72.2134)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B62DF #A6DF62
analogous
#6267DF #9B62DF #DA62DF
triadic
#9B62DF #DF9B62 #62DF9B
tetradic
#9B62DF #DF6267 #A6DF62 #62DFDA
square
#9B62DF #DF6267 #A6DF62 #62DFDA
split-complementary
#9B62DF #DFDA62 #67DF62
monochromatic
#5E22A5 #7B2FD5 #9B62DF #BB95E9 #DCC8F4

Accessibility & contrast

On white

4.03
#9B62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9B62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B62DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B62DF#FFFFFF#000000##000000
##9B62DF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#8E7B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b62df;
/* rgb */ color: rgb(155, 98, 223);
/* oklch */ color: oklch(61.5% 0.185 302.3);
Tailwind
colors: {
  custom: {
    50: '#bc91ea',
    500: '#9b62df',
    950: '#000000',
  },
}
SCSS
$custom: #9b62df;
$custom-light: #bc91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b62df",
  "rgb": {
    "r": 155,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 267.36,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.18545,
    "h": 302.3
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#9B62DF
secondary
#D0E5B8
accent
#CE177B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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