#9F62CD#9F62CD

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

Color values

HEX#9F62CD
RGBrgb(159, 98, 205)
HSLhsl(274, 52%, 59%)
HSVhsv(274, 52%, 80%)
CMYKcmyk(22.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.41, 44.34, -46.14)
CIE-LCHlch(52.41, 63.99, 313.86°)
OKLaboklab(60.83% 0.1032 -0.1293)
OKLCHoklch(60.83% 0.165 308.6)
XYZxyz(29.6831, 20.5145, 60.1418)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F62CD #90CD62
analogous
#6A62CD #9F62CD #CD62C5
triadic
#9F62CD #CD9F62 #62CD9F
tetradic
#9F62CD #CD6A62 #90CD62 #62C5CD
square
#9F62CD #CD6A62 #90CD62 #62C5CD
split-complementary
#9F62CD #C5CD62 #62CD6A
monochromatic
#612C89 #823AB7 #9F62CD #BB90DC #D8BFEB

Accessibility & contrast

On white

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

On black

5.10
#9F62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F62CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F62CD#FFFFFF#000000##000000
##9F62CD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#99758E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f62cd;
/* rgb */ color: rgb(159, 98, 205);
/* oklch */ color: oklch(60.8% 0.165 308.6);
Tailwind
colors: {
  custom: {
    50: '#be91dd',
    500: '#9f62cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f62cd;
$custom-light: #be91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f62cd",
  "rgb": {
    "r": 159,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 274.206,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.16548,
    "h": 308.6
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#9F62CD
secondary
#C2DAB1
accent
#DB4D8A
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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