#8952CD#8952CD

#8952CD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.184 H 301.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8952CD
RGBrgb(137, 82, 205)
HSLhsl(267, 55%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(33.2%, 60%, 0%, 19.6%)
CIE-LABlab(46.66, 47.48, -55.48)
CIE-LCHlch(46.66, 73.03, 310.56°)
OKLaboklab(56.05% 0.0956 -0.1573)
OKLCHoklch(56.05% 0.184 301.3)
XYZxyz(24.3507, 15.7606, 59.5050)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952CD #96CD52
analogous
#5259CD #8952CD #C752CD
triadic
#8952CD #CD8952 #52CD89
tetradic
#8952CD #CD5259 #96CD52 #52CDC7
square
#8952CD #CD5259 #96CD52 #52CDC7
split-complementary
#8952CD #CDC752 #59CD52
monochromatic
#4E2580 #6A33AF #8952CD #A981DB #CAB1E8

Accessibility & contrast

On white

5.06
#8952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952CD#FFFFFF#000000##FFFFFF
##8952CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#7B6C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8952cd;
/* rgb */ color: rgb(137, 82, 205);
/* oklch */ color: oklch(56.0% 0.184 301.3);
Tailwind
colors: {
  custom: {
    50: '#b085dd',
    500: '#8952cd',
    950: '#000000',
  },
}
SCSS
$custom: #8952cd;
$custom-light: #b085dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8952cd",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 266.829,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.18404,
    "h": 301.3
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#8952CD
secondary
#C0D7A4
accent
#DE499C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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