#952FCE#952FCE

#952FCE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.5% C 0.231 H 309.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#952FCE
RGBrgb(149, 47, 206)
HSLhsl(278, 63%, 50%)
HSVhsv(278, 77%, 81%)
CMYKcmyk(27.7%, 77.2%, 0%, 19.2%)
CIE-LABlab(42.58, 65.92, -62.58)
CIE-LCHlch(42.58, 90.89, 316.49°)
OKLaboklab(53.48% 0.1476 -0.1776)
OKLCHoklch(53.48% 0.231 309.7)
XYZxyz(24.5493, 12.8793, 59.5733)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FCE #68CE2F
analogous
#462FCE #952FCE #CE2FB7
triadic
#952FCE #CE952F #2FCE95
tetradic
#952FCE #CE462F #68CE2F #2FB7CE
square
#952FCE #CE462F #68CE2F #2FB7CE
split-complementary
#952FCE #B7CE2F #2FCE46
monochromatic
#4D186A #71249C #952FCE #AF60DB #C891E6

Accessibility & contrast

On white

5.87
#952FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#952FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FCE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FCE#FFFFFF#000000##FFFFFF
##952FCE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952fce;
/* rgb */ color: rgb(149, 47, 206);
/* oklch */ color: oklch(53.5% 0.231 309.7);
Tailwind
colors: {
  custom: {
    50: '#b973de',
    500: '#952fce',
    950: '#000000',
  },
}
SCSS
$custom: #952fce;
$custom-light: #b973de;
$custom-dark: #000000;
JSON
{
  "hex": "#952fce",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 206
  },
  "hsl": {
    "h": 278.491,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.23088,
    "h": 309.7
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#952FCE
secondary
#A2D188
accent
#E6427D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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