#9D2ADF#9D2ADF

#9D2ADF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.4% C 0.252 H 308.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2ADF
RGBrgb(157, 42, 223)
HSLhsl(278, 74%, 52%)
HSVhsv(278, 81%, 87%)
CMYKcmyk(29.6%, 81.2%, 0%, 12.5%)
CIE-LABlab(44.45, 72.32, -69.25)
CIE-LCHlch(44.45, 100.13, 316.24°)
OKLaboklab(55.42% 0.1578 -0.1969)
OKLCHoklch(55.42% 0.252 308.7)
XYZxyz(28.0491, 14.1522, 71.0518)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2ADF #6CDF2A
analogous
#432ADF #9D2ADF #DF2AC6
triadic
#9D2ADF #DF9D2A #2ADF9D
tetradic
#9D2ADF #DF432A #6CDF2A #2AC6DF
square
#9D2ADF #DF432A #6CDF2A #2AC6DF
split-complementary
#9D2ADF #C6DF2A #2ADF43
monochromatic
#56137C #7A1BB1 #9D2ADF #B55FE7 #CE94EF

Accessibility & contrast

On white

5.48
#9D2ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9D2ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2ADF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2ADF#FFFFFF#000000##FFFFFF
##9D2ADF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#935B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d2adf;
/* rgb */ color: rgb(157, 42, 223);
/* oklch */ color: oklch(55.4% 0.252 308.7);
Tailwind
colors: {
  custom: {
    50: '#c073ea',
    500: '#9d2adf',
    950: '#000000',
  },
}
SCSS
$custom: #9d2adf;
$custom-light: #c073ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2adf",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 223
  },
  "hsl": {
    "h": 278.122,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.25233,
    "h": 308.7
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#9D2ADF
secondary
#A8DA8B
accent
#F1377B
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9D2ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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