#952FC9#952FC9

#952FC9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.226 H 311.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#952FC9
RGBrgb(149, 47, 201)
HSLhsl(280, 62%, 49%)
HSVhsv(280, 77%, 79%)
CMYKcmyk(25.9%, 76.6%, 0%, 21.2%)
CIE-LABlab(42.22, 64.89, -60.27)
CIE-LCHlch(42.22, 88.56, 317.11°)
OKLaboklab(53.11% 0.1486 -0.1708)
OKLCHoklch(53.11% 0.226 311)
XYZxyz(23.9515, 12.6402, 56.4251)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FC9 #63C92F
analogous
#482FC9 #952FC9 #C92FB0
triadic
#952FC9 #C9952F #2FC995
tetradic
#952FC9 #C9482F #63C92F #2FB0C9
square
#952FC9 #C9482F #63C92F #2FB0C9
split-complementary
#952FC9 #B0C92F #2FC948
monochromatic
#4B1866 #702397 #952FC9 #AF5CD9 #C78EE5

Accessibility & contrast

On white

5.95
#952FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#952FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FC9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FC9#FFFFFF#000000##FFFFFF
##952FC91.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0665C6
Tritanopia (blue-blind)
#8E547B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #952fc9;
/* rgb */ color: rgb(149, 47, 201);
/* oklch */ color: oklch(53.1% 0.226 311.0);
Tailwind
colors: {
  custom: {
    50: '#b973da',
    500: '#952fc9',
    950: '#000000',
  },
}
SCSS
$custom: #952fc9;
$custom-light: #b973da;
$custom-dark: #000000;
JSON
{
  "hex": "#952fc9",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 279.74,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.22636,
    "h": 311
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#952FC9
secondary
#9ECF85
accent
#E5437A
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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