#9F3DE4#9F3DE4

#9F3DE4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.6% C 0.240 H 307.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9F3DE4
RGBrgb(159, 61, 228)
HSLhsl(275, 76%, 57%)
HSVhsv(275, 73%, 89%)
CMYKcmyk(30.3%, 73.2%, 0%, 10.6%)
CIE-LABlab(47.38, 67.12, -67.32)
CIE-LCHlch(47.38, 95.07, 314.92°)
OKLaboklab(57.65% 0.1443 -0.1913)
OKLCHoklch(57.65% 0.24 307)
XYZxyz(29.9674, 16.3102, 74.9532)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DE4 #82E43D
analogous
#4C3DE4 #9F3DE4 #E43DD5
triadic
#9F3DE4 #E49F3D #3DE49F
tetradic
#9F3DE4 #E44C3D #82E43D #3DD5E4
square
#9F3DE4 #E44C3D #82E43D #3DD5E4
split-complementary
#9F3DE4 #D5E43D #3DE44C
monochromatic
#5E1492 #811CC8 #9F3DE4 #BA73EB #D4A8F3

Accessibility & contrast

On white

4.93
#9F3DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9F3DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DE4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DE4#FFFFFF#000000##FFFFFF
##9F3DE41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#93658E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f3de4;
/* rgb */ color: rgb(159, 61, 228);
/* oklch */ color: oklch(57.6% 0.240 307.0);
Tailwind
colors: {
  custom: {
    50: '#c17ced',
    500: '#9f3de4',
    950: '#000000',
  },
}
SCSS
$custom: #9f3de4;
$custom-light: #c17ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3de4",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 228
  },
  "hsl": {
    "h": 275.21,
    "s": 75.566,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.23959,
    "h": 307
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#9F3DE4
secondary
#B8E19C
accent
#F23684
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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