#9F2FDA#9F2FDA

#9F2FDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.7% C 0.244 H 310.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9F2FDA
RGBrgb(159, 47, 218)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(27.1%, 78.4%, 0%, 14.5%)
CIE-LABlab(44.89, 70.08, -65.66)
CIE-LCHlch(44.89, 96.03, 316.87°)
OKLaboklab(55.67% 0.158 -0.1863)
OKLCHoklch(55.67% 0.244 310.3)
XYZxyz(27.9670, 14.4666, 67.6351)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FDA #6ADA2F
analogous
#4A2FDA #9F2FDA #DA2FC0
triadic
#9F2FDA #DA9F2F #2FDA9F
tetradic
#9F2FDA #DA4A2F #6ADA2F #2FC0DA
square
#9F2FDA #DA4A2F #6ADA2F #2FC0DA
split-complementary
#9F2FDA #C0DA2F #2FDA4A
monochromatic
#571679 #7C1FAD #9F2FDA #B763E3 #CF97EC

Accessibility & contrast

On white

5.39
#9F2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9F2FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FDA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FDA#FFFFFF#000000##FFFFFF
##9F2FDA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#975A85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f2fda;
/* rgb */ color: rgb(159, 47, 218);
/* oklch */ color: oklch(55.7% 0.244 310.3);
Tailwind
colors: {
  custom: {
    50: '#c175e6',
    500: '#9f2fda',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fda;
$custom-light: #c175e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fda",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 279.298,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.24428,
    "h": 310.3
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#9F2FDA
secondary
#A7D88D
accent
#ED3B78
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F2FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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