#952ECD#952ECD

#952ECD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.231 H 310.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#952ECD
RGBrgb(149, 46, 205)
HSLhsl(279, 63%, 49%)
HSVhsv(279, 78%, 80%)
CMYKcmyk(27.3%, 77.6%, 0%, 19.6%)
CIE-LABlab(42.39, 66.06, -62.31)
CIE-LCHlch(42.39, 90.81, 316.67°)
OKLaboklab(53.32% 0.1486 -0.1768)
OKLCHoklch(53.32% 0.231 310)
XYZxyz(24.3887, 12.7519, 58.9224)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952ECD #66CD2E
analogous
#462ECD #952ECD #CD2EB6
triadic
#952ECD #CD952E #2ECD95
tetradic
#952ECD #CD462E #66CD2E #2EB6CD
square
#952ECD #CD462E #66CD2E #2EB6CD
split-complementary
#952ECD #B6CD2E #2ECD46
monochromatic
#4C1869 #71239B #952ECD #AF5DDB #C78FE6

Accessibility & contrast

On white

5.92
#952ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#952ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952ECD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952ECD#FFFFFF#000000##FFFFFF
##952ECD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#8D567D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #952ecd;
/* rgb */ color: rgb(149, 46, 205);
/* oklch */ color: oklch(53.3% 0.231 310.0);
Tailwind
colors: {
  custom: {
    50: '#b973dd',
    500: '#952ecd',
    950: '#000000',
  },
}
SCSS
$custom: #952ecd;
$custom-light: #b973dd;
$custom-dark: #000000;
JSON
{
  "hex": "#952ecd",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 278.868,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.23094,
    "h": 310
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#952ECD
secondary
#A0D086
accent
#E6417C
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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