#9D2FDA#9D2FDA

#9D2FDA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.4% C 0.244 H 309.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9D2FDA
RGBrgb(157, 47, 218)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(28%, 78.4%, 0%, 14.5%)
CIE-LABlab(44.61, 69.75, -66.13)
CIE-LCHlch(44.61, 96.12, 316.52°)
OKLaboklab(55.41% 0.1554 -0.1877)
OKLCHoklch(55.41% 0.244 309.6)
XYZxyz(27.5735, 14.2637, 67.6167)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FDA #6CDA2F
analogous
#472FDA #9D2FDA #DA2FC2
triadic
#9D2FDA #DA9D2F #2FDA9D
tetradic
#9D2FDA #DA472F #6CDA2F #2FC2DA
square
#9D2FDA #DA472F #6CDA2F #2FC2DA
split-complementary
#9D2FDA #C2DA2F #2FDA47
monochromatic
#561679 #7A1FAD #9D2FDA #B563E3 #CE97EC

Accessibility & contrast

On white

5.45
#9D2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9D2FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FDA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FDA#FFFFFF#000000##FFFFFF
##9D2FDA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#945B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d2fda;
/* rgb */ color: rgb(157, 47, 218);
/* oklch */ color: oklch(55.4% 0.244 309.6);
Tailwind
colors: {
  custom: {
    50: '#c075e6',
    500: '#9d2fda',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fda;
$custom-light: #c075e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fda",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 278.596,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.24374,
    "h": 309.6
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#9D2FDA
secondary
#A8D88D
accent
#ED3B7A
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9D2FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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