#9F5EEC#9F5EEC

#9F5EEC is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.207 H 301.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9F5EEC
RGBrgb(159, 94, 236)
HSLhsl(267, 79%, 65%)
HSVhsv(267, 60%, 93%)
CMYKcmyk(32.6%, 60.2%, 0%, 7.5%)
CIE-LABlab(53.42, 53.75, -62.06)
CIE-LCHlch(53.42, 82.10, 310.89°)
OKLaboklab(62.15% 0.1089 -0.176)
OKLCHoklch(62.15% 0.207 301.8)
XYZxyz(33.4375, 21.4324, 81.7159)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EEC #ABEC5E
analogous
#5E64EC #9F5EEC #E65EEC
triadic
#9F5EEC #EC9F5E #5EEC9F
tetradic
#9F5EEC #EC5E64 #ABEC5E #5EECE6
square
#9F5EEC #EC5E64 #ABEC5E #5EECE6
split-complementary
#9F5EEC #ECE65E #64EC5E
monochromatic
#6116BA #7E27E6 #9F5EEC #C095F2 #E0CBF9

Accessibility & contrast

On white

3.97
#9F5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9F5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5EEC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5EEC#FFFFFF#000000##000000
##9F5EEC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#8F7C9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5eec;
/* rgb */ color: rgb(159, 94, 236);
/* oklch */ color: oklch(62.1% 0.207 301.8);
Tailwind
colors: {
  custom: {
    50: '#c08ff3',
    500: '#9f5eec',
    950: '#000000',
  },
}
SCSS
$custom: #9f5eec;
$custom-light: #c08ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5eec",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 267.465,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62149,
    "c": 0.20693,
    "h": 301.8
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#9F5EEC
secondary
#D5EBBB
accent
#DB0A7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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