#8952FF#8952FF

#8952FF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.241 H 292.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8952FF
RGBrgb(137, 82, 255)
HSLhsl(259, 100%, 66%)
HSVhsv(259, 68%, 100%)
CMYKcmyk(46.3%, 67.8%, 0%, 0%)
CIE-LABlab(50.18, 60.30, -78.02)
CIE-LCHlch(50.18, 98.60, 307.70°)
OKLaboklab(59.7% 0.0905 -0.2235)
OKLCHoklch(59.7% 0.241 292.1)
XYZxyz(31.3788, 18.5719, 96.5198)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952FF #C8FF52
analogous
#5271FF #8952FF #DF52FF
triadic
#8952FF #FF8952 #52FF89
tetradic
#8952FF #FF5271 #C8FF52 #52FFDF
square
#8952FF #FF5271 #C8FF52 #52FFDF
split-complementary
#8952FF #FFDF52 #71FF52
monochromatic
#4400D7 #5F15FF #8952FF #B38FFF #DCCCFF

Accessibility & contrast

On white

4.45
#8952FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8952FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8952FF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952FF#FFFFFF#000000##000000
##8952FF1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#657DA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8952ff;
/* rgb */ color: rgb(137, 82, 255);
/* oklch */ color: oklch(59.7% 0.241 292.1);
Tailwind
colors: {
  custom: {
    50: '#b486ff',
    500: '#8952ff',
    950: '#000000',
  },
}
SCSS
$custom: #8952ff;
$custom-light: #b486ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8952ff",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 259.075,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.24117,
    "h": 292.1
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#8952FF
secondary
#E1F3BA
accent
#E6009D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8952FF

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

Preview Lab → · Contrast checker → · Palette generator →

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