#9F7CED#9F7CED

#9F7CED is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.164 H 295.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F7CED
RGBrgb(159, 124, 237)
HSLhsl(259, 76%, 71%)
HSVhsv(259, 48%, 93%)
CMYKcmyk(32.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(59.80, 37.67, -52.42)
CIE-LCHlch(59.80, 64.55, 305.70°)
OKLaboklab(66.88% 0.0718 -0.1477)
OKLCHoklch(66.88% 0.164 295.9)
XYZxyz(36.7880, 27.9001, 83.5514)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7CED #CAED7C
analogous
#7C91ED #9F7CED #D77CED
triadic
#9F7CED #ED9F7C #7CED9F
tetradic
#9F7CED #ED7C91 #CAED7C #7CEDD7
square
#9F7CED #ED7C91 #CAED7C #7CEDD7
split-complementary
#9F7CED #EDD77C #91ED7C
monochromatic
#551DD2 #7846E6 #9F7CED #C6B2F4 #EBE4FB

Accessibility & contrast

On white

3.19
#9F7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9F7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7CED
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7CED#FFFFFF#000000##000000
##9F7CED1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#5C8FEA
Tritanopia (blue-blind)
#8E92A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f7ced;
/* rgb */ color: rgb(159, 124, 237);
/* oklch */ color: oklch(66.9% 0.164 295.9);
Tailwind
colors: {
  custom: {
    50: '#bea2f3',
    500: '#9f7ced',
    950: '#000000',
  },
}
SCSS
$custom: #9f7ced;
$custom-light: #bea2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7ced",
  "rgb": {
    "r": 159,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 258.584,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.16425,
    "h": 295.9
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#9F7CED
secondary
#E8F2D3
accent
#D80D99
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9F7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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