#8952CF#8952CF

#8952CF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.186 H 300.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8952CF
RGBrgb(137, 82, 207)
HSLhsl(266, 57%, 57%)
HSVhsv(266, 60%, 81%)
CMYKcmyk(33.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(46.79, 47.98, -56.43)
CIE-LCHlch(46.79, 74.07, 310.37°)
OKLaboklab(56.18% 0.0955 -0.1601)
OKLCHoklch(56.18% 0.186 300.8)
XYZxyz(24.5936, 15.8578, 60.7846)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952CF #98CF52
analogous
#525ACF #8952CF #C852CF
triadic
#8952CF #CF8952 #52CF89
tetradic
#8952CF #CF525A #98CF52 #52CFC8
square
#8952CF #CF525A #98CF52 #52CFC8
split-complementary
#8952CF #CFC852 #5ACF52
monochromatic
#4E2482 #6A31B2 #8952CF #AA82DC #CAB2EA

Accessibility & contrast

On white

5.03
#8952CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8952CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952CF#FFFFFF#000000##FFFFFF
##8952CF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#7A6C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8952cf;
/* rgb */ color: rgb(137, 82, 207);
/* oklch */ color: oklch(56.2% 0.186 300.8);
Tailwind
colors: {
  custom: {
    50: '#b085de',
    500: '#8952cf',
    950: '#000000',
  },
}
SCSS
$custom: #8952cf;
$custom-light: #b085de;
$custom-dark: #000000;
JSON
{
  "hex": "#8952cf",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 266.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.18639,
    "h": 300.8
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#8952CF
secondary
#C1D8A5
accent
#E0489D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8952CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva