#9F62CC#9F62CC

#9F62CC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.164 H 308.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F62CC
RGBrgb(159, 98, 204)
HSLhsl(275, 51%, 59%)
HSVhsv(275, 52%, 80%)
CMYKcmyk(22.1%, 52%, 0%, 20%)
CIE-LABlab(52.36, 44.11, -45.66)
CIE-LCHlch(52.36, 63.49, 314.02°)
OKLaboklab(60.77% 0.1031 -0.1279)
OKLCHoklch(60.77% 0.164 308.9)
XYZxyz(29.5627, 20.4664, 59.5081)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F62CC #8FCC62
analogous
#6A62CC #9F62CC #CC62C4
triadic
#9F62CC #CC9F62 #62CC9F
tetradic
#9F62CC #CC6A62 #8FCC62 #62C4CC
square
#9F62CC #CC6A62 #8FCC62 #62C4CC
split-complementary
#9F62CC #C4CC62 #62CC6A
monochromatic
#612C88 #823BB6 #9F62CC #BB90DB #D7BEEA

Accessibility & contrast

On white

4.12
#9F62CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9F62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F62CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F62CC#FFFFFF#000000##000000
##9F62CC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#99748E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f62cc;
/* rgb */ color: rgb(159, 98, 204);
/* oklch */ color: oklch(60.8% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#be91dc',
    500: '#9f62cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f62cc;
$custom-light: #be91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f62cc",
  "rgb": {
    "r": 159,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 274.528,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.16432,
    "h": 308.9
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#9F62CC
secondary
#C2DAB0
accent
#DA4D89
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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