#9F7CCD#9F7CCD

#9F7CCD is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.123 H 303.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F7CCD
RGBrgb(159, 124, 205)
HSLhsl(266, 45%, 65%)
HSVhsv(266, 40%, 80%)
CMYKcmyk(22.4%, 39.5%, 0%, 19.6%)
CIE-LABlab(58.22, 29.80, -36.99)
CIE-LCHlch(58.22, 47.50, 308.86°)
OKLaboklab(65.18% 0.0669 -0.1028)
OKLCHoklch(65.18% 0.123 303.1)
XYZxyz(32.5228, 26.1940, 61.0883)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7CCD #AACD7C
analogous
#7C82CD #9F7CCD #C87CCD
triadic
#9F7CCD #CD9F7C #7CCD9F
tetradic
#9F7CCD #CD7C82 #AACD7C #7CCDC8
square
#9F7CCD #CD7C82 #AACD7C #7CCDC8
split-complementary
#9F7CCD #CDC87C #82CD7C
monochromatic
#613996 #7F50BC #9F7CCD #BFA8DE #E0D5EF

Accessibility & contrast

On white

3.37
#9F7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9F7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7CCD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7CCD#FFFFFF#000000##000000
##9F7CCD1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#97899B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f7ccd;
/* rgb */ color: rgb(159, 124, 205);
/* oklch */ color: oklch(65.2% 0.123 303.1);
Tailwind
colors: {
  custom: {
    50: '#bda2dc',
    500: '#9f7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9f7ccd;
$custom-light: #bda2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7ccd",
  "rgb": {
    "r": 159,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 265.926,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65176,
    "c": 0.1227,
    "h": 303.1
  },
  "luminance": 0.26194
}

Semantic roles & 50–950 ramp

primary
#9F7CCD
secondary
#D4E0C4
accent
#B82E7C
background
#FBFAFD
surface
#F7F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9F7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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