#9F3BD2#9F3BD2

#9F3BD2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.225 H 311.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9F3BD2
RGBrgb(159, 59, 210)
HSLhsl(280, 63%, 53%)
HSVhsv(280, 72%, 82%)
CMYKcmyk(24.3%, 71.9%, 0%, 17.6%)
CIE-LABlab(45.84, 64.11, -59.53)
CIE-LCHlch(45.84, 87.49, 317.12°)
OKLaboklab(56.16% 0.1491 -0.1684)
OKLCHoklch(56.16% 0.225 311.5)
XYZxyz(27.4927, 15.1527, 62.4368)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BD2 #6ED23B
analogous
#533BD2 #9F3BD2 #D23BBA
triadic
#9F3BD2 #D29F3B #3BD29F
tetradic
#9F3BD2 #D2533B #6ED23B #3BBAD2
square
#9F3BD2 #D2533B #6ED23B #3BBAD2
split-complementary
#9F3BD2 #BAD23B #3BD253
monochromatic
#581B77 #7D27A9 #9F3BD2 #B76DDD #D09FE9

Accessibility & contrast

On white

5.21
#9F3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9F3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BD2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BD2#FFFFFF#000000##FFFFFF
##9F3BD21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#256ECF
Tritanopia (blue-blind)
#995D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3bd2;
/* rgb */ color: rgb(159, 59, 210);
/* oklch */ color: oklch(56.2% 0.225 311.5);
Tailwind
colors: {
  custom: {
    50: '#c07ae1',
    500: '#9f3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bd2;
$custom-light: #c07ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bd2",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 279.735,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.22487,
    "h": 311.5
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#9F3BD2
secondary
#AAD594
accent
#E64279
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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