#952ED3#952ED3

#952ED3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.8% C 0.236 H 308.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#952ED3
RGBrgb(149, 46, 211)
HSLhsl(277, 65%, 50%)
HSVhsv(277, 78%, 83%)
CMYKcmyk(29.4%, 78.2%, 0%, 17.3%)
CIE-LABlab(42.83, 67.31, -65.05)
CIE-LCHlch(42.83, 93.60, 315.98°)
OKLaboklab(53.77% 0.1473 -0.1848)
OKLCHoklch(53.77% 0.236 308.5)
XYZxyz(25.1269, 13.0471, 62.8101)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952ED3 #6CD32E
analogous
#432ED3 #952ED3 #D32EBE
triadic
#952ED3 #D3952E #2ED395
tetradic
#952ED3 #D3432E #6CD32E #2EBED3
square
#952ED3 #D3432E #6CD32E #2EBED3
split-complementary
#952ED3 #BED32E #2ED343
monochromatic
#4E176F #7222A2 #952ED3 #AF61DE #C893E8

Accessibility & contrast

On white

5.82
#952ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#952ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952ED3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952ED3#FFFFFF#000000##FFFFFF
##952ED31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#8B5881
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #952ed3;
/* rgb */ color: rgb(149, 46, 211);
/* oklch */ color: oklch(53.8% 0.236 308.5);
Tailwind
colors: {
  custom: {
    50: '#ba73e1',
    500: '#952ed3',
    950: '#000000',
  },
}
SCSS
$custom: #952ed3;
$custom-light: #ba73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#952ed3",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 277.455,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.23633,
    "h": 308.5
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#952ED3
secondary
#A5D38A
accent
#E8407F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952ED3

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

Preview Lab → · Contrast checker → · Palette generator →

#952ED3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva