#952DCE#952DCE

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

Color values

HEX#952DCE
RGBrgb(149, 45, 206)
HSLhsl(279, 64%, 49%)
HSVhsv(279, 78%, 81%)
CMYKcmyk(27.7%, 78.2%, 0%, 19.2%)
CIE-LABlab(42.34, 66.61, -62.96)
CIE-LCHlch(42.34, 91.66, 316.61°)
OKLaboklab(53.31% 0.1492 -0.1787)
OKLCHoklch(53.31% 0.233 309.9)
XYZxyz(24.4712, 12.7231, 59.5472)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DCE #66CE2D
analogous
#452DCE #952DCE #CE2DB7
triadic
#952DCE #CE952D #2DCE95
tetradic
#952DCE #CE452D #66CE2D #2DB7CE
square
#952DCE #CE452D #66CE2D #2DB7CE
split-complementary
#952DCE #B7CE2D #2DCE45
monochromatic
#4C176A #71229C #952DCE #AF5DDC #C78FE7

Accessibility & contrast

On white

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

On black

3.54
#952DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##952DCE#FFFFFF#000000##FFFFFF
##952DCE1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#8D567E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #952dce;
/* rgb */ color: rgb(149, 45, 206);
/* oklch */ color: oklch(53.3% 0.233 309.9);
Tailwind
colors: {
  custom: {
    50: '#ba72de',
    500: '#952dce',
    950: '#000000',
  },
}
SCSS
$custom: #952dce;
$custom-light: #ba72de;
$custom-dark: #000000;
JSON
{
  "hex": "#952dce",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 278.758,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.23277,
    "h": 309.9
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#952DCE
secondary
#A0D186
accent
#E7417C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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