#9F3FDB#9F3FDB

#9F3FDB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.229 H 309.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F3FDB
RGBrgb(159, 63, 219)
HSLhsl(277, 68%, 55%)
HSVhsv(277, 71%, 86%)
CMYKcmyk(27.4%, 71.2%, 0%, 14.1%)
CIE-LABlab(47.03, 64.39, -62.77)
CIE-LCHlch(47.03, 89.92, 315.73°)
OKLaboklab(57.2% 0.1439 -0.1779)
OKLCHoklch(57.2% 0.229 309)
XYZxyz(28.8592, 16.0409, 68.5800)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FDB #7BDB3F
analogous
#513FDB #9F3FDB #DB3FC9
triadic
#9F3FDB #DB9F3F #3FDB9F
tetradic
#9F3FDB #DB513F #7BDB3F #3FC9DB
square
#9F3FDB #DB513F #7BDB3F #3FC9DB
split-complementary
#9F3FDB #C9DB3F #3FDB51
monochromatic
#5C1986 #8023BA #9F3FDB #B973E5 #D3A6EE

Accessibility & contrast

On white

4.99
#9F3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9F3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FDB#FFFFFF#000000##FFFFFF
##9F3FDB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#1771D8
Tritanopia (blue-blind)
#966389
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3fdb;
/* rgb */ color: rgb(159, 63, 219);
/* oklch */ color: oklch(57.2% 0.229 309.0);
Tailwind
colors: {
  custom: {
    50: '#c07ce7',
    500: '#9f3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fdb;
$custom-light: #c07ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fdb",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 276.923,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.22883,
    "h": 309
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#9F3FDB
secondary
#B3DC9A
accent
#EB3D80
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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