#9F3BDE#9F3BDE

#9F3BDE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.0% C 0.236 H 308.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9F3BDE
RGBrgb(159, 59, 222)
HSLhsl(277, 71%, 55%)
HSVhsv(277, 73%, 87%)
CMYKcmyk(28.4%, 73.4%, 0%, 12.9%)
CIE-LABlab(46.68, 66.62, -65.05)
CIE-LCHlch(46.68, 93.11, 315.68°)
OKLaboklab(57.01% 0.1472 -0.1846)
OKLCHoklch(57.01% 0.236 308.6)
XYZxyz(29.0441, 15.7733, 70.6076)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BDE #7ADE3B
analogous
#4E3BDE #9F3BDE #DE3BCB
triadic
#9F3BDE #DE9F3B #3BDE9F
tetradic
#9F3BDE #DE4E3B #7ADE3B #3BCBDE
square
#9F3BDE #DE4E3B #7ADE3B #3BCBDE
split-complementary
#9F3BDE #CBDE3B #3BDE4E
monochromatic
#5C1788 #8020BC #9F3BDE #B96FE7 #D2A4F0

Accessibility & contrast

On white

5.05
#9F3BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9F3BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BDE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BDE#FFFFFF#000000##FFFFFF
##9F3BDE1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#95628A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3bde;
/* rgb */ color: rgb(159, 59, 222);
/* oklch */ color: oklch(57.0% 0.236 308.6);
Tailwind
colors: {
  custom: {
    50: '#c17ae9',
    500: '#9f3bde',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bde;
$custom-light: #c17ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bde",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 276.81,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.23608,
    "h": 308.6
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#9F3BDE
secondary
#B3DD98
accent
#EE3A7F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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