#952AE6#952AE6

#952AE6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 55.0% C 0.257 H 304.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#952AE6
RGBrgb(149, 42, 230)
HSLhsl(274, 79%, 53%)
HSVhsv(274, 82%, 90%)
CMYKcmyk(35.2%, 81.7%, 0%, 9.8%)
CIE-LABlab(43.88, 72.58, -74.20)
CIE-LCHlch(43.88, 103.80, 314.37°)
OKLaboklab(54.97% 0.1451 -0.2117)
OKLCHoklch(54.97% 0.257 304.4)
XYZxyz(27.5020, 13.7588, 76.0544)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AE6 #7BE62A
analogous
#372AE6 #952AE6 #E62AD9
triadic
#952AE6 #E6952A #2AE695
tetradic
#952AE6 #E6372A #7BE62A #2AD9E6
square
#952AE6 #E6372A #7BE62A #2AD9E6
split-complementary
#952AE6 #D9E62A #2AE637
monochromatic
#531086 #7516BD #952AE6 #B061EC #CC98F3

Accessibility & contrast

On white

5.60
#952AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#952AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AE6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AE6#FFFFFF#000000##FFFFFF
##952AE61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EB
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#855F8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #952ae6;
/* rgb */ color: rgb(149, 42, 230);
/* oklch */ color: oklch(55.0% 0.257 304.4);
Tailwind
colors: {
  custom: {
    50: '#bb72ef',
    500: '#952ae6',
    950: '#000000',
  },
}
SCSS
$custom: #952ae6;
$custom-light: #bb72ef;
$custom-dark: #000000;
JSON
{
  "hex": "#952ae6",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 230
  },
  "hsl": {
    "h": 274.149,
    "s": 78.992,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.25666,
    "h": 304.4
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#952AE6
secondary
#B0DE8D
accent
#F53286
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130917
muted
#827B85

Preview Lab

Preview with #952AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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