#952FD2#952FD2

#952FD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.8% C 0.234 H 308.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#952FD2
RGBrgb(149, 47, 210)
HSLhsl(278, 64%, 50%)
HSVhsv(278, 78%, 82%)
CMYKcmyk(29%, 77.6%, 0%, 17.6%)
CIE-LABlab(42.88, 66.75, -64.40)
CIE-LCHlch(42.88, 92.76, 316.03°)
OKLaboklab(53.78% 0.1467 -0.1829)
OKLCHoklch(53.78% 0.235 308.7)
XYZxyz(25.0414, 13.0762, 62.1651)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FD2 #6CD22F
analogous
#432FD2 #952FD2 #D22FBD
triadic
#952FD2 #D2952F #2FD295
tetradic
#952FD2 #D2432F #6CD22F #2FBDD2
square
#952FD2 #D2432F #6CD22F #2FBDD2
split-complementary
#952FD2 #BDD22F #2FD243
monochromatic
#4E186F #7223A1 #952FD2 #AF61DD #C894E8

Accessibility & contrast

On white

5.81
#952FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#952FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FD2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FD2#FFFFFF#000000##FFFFFF
##952FD21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#8B5880
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #952fd2;
/* rgb */ color: rgb(149, 47, 210);
/* oklch */ color: oklch(53.8% 0.234 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba73e1',
    500: '#952fd2',
    950: '#000000',
  },
}
SCSS
$custom: #952fd2;
$custom-light: #ba73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#952fd2",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 277.546,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.2345,
    "h": 308.7
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #952FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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