#8952DF#8952DF

#8952DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.205 H 297.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8952DF
RGBrgb(137, 82, 223)
HSLhsl(263, 69%, 60%)
HSVhsv(263, 63%, 87%)
CMYKcmyk(38.6%, 63.2%, 0%, 12.5%)
CIE-LABlab(47.85, 52.02, -63.84)
CIE-LCHlch(47.85, 82.35, 309.18°)
OKLaboklab(57.29% 0.0945 -0.1818)
OKLCHoklch(57.29% 0.205 297.5)
XYZxyz(26.6497, 16.6802, 71.6133)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952DF #A8DF52
analogous
#5262DF #8952DF #CF52DF
triadic
#8952DF #DF8952 #52DF89
tetradic
#8952DF #DF5262 #A8DF52 #52DFCF
square
#8952DF #DF5262 #A8DF52 #52DFCF
split-complementary
#8952DF #DFCF52 #62DF52
monochromatic
#4D1D9A #6726CE #8952DF #AC86E9 #CFB9F2

Accessibility & contrast

On white

4.84
#8952DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8952DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952DF#FFFFFF#000000##FFFFFF
##8952DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#747291
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8952df;
/* rgb */ color: rgb(137, 82, 223);
/* oklch */ color: oklch(57.3% 0.205 297.5);
Tailwind
colors: {
  custom: {
    50: '#b185ea',
    500: '#8952df',
    950: '#000000',
  },
}
SCSS
$custom: #8952df;
$custom-light: #b185ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8952df",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 263.404,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.20494,
    "h": 297.5
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#8952DF
secondary
#CCE2AB
accent
#EC3CA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952DF

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

Preview Lab → · Contrast checker → · Palette generator →

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