#8951E6#8951E6

#8951E6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.214 H 296.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8951E6
RGBrgb(137, 81, 230)
HSLhsl(263, 75%, 61%)
HSVhsv(263, 65%, 90%)
CMYKcmyk(40.4%, 64.8%, 0%, 9.8%)
CIE-LABlab(48.15, 54.33, -67.31)
CIE-LCHlch(48.15, 86.50, 308.91°)
OKLaboklab(57.67% 0.0949 -0.1921)
OKLCHoklch(57.67% 0.214 296.3)
XYZxyz(27.5382, 16.9158, 76.6618)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951E6 #AEE651
analogous
#5163E6 #8951E6 #D351E6
triadic
#8951E6 #E68951 #51E689
tetradic
#8951E6 #E65163 #AEE651 #51E6D3
square
#8951E6 #E65163 #AEE651 #51E6D3
split-complementary
#8951E6 #E6D351 #63E651
monochromatic
#4D18A5 #661FDA #8951E6 #AD87EE #D2BCF5

Accessibility & contrast

On white

4.79
#8951E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8951E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951E6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951E6#FFFFFF#000000##FFFFFF
##8951E61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#717495
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8951e6;
/* rgb */ color: rgb(137, 81, 230);
/* oklch */ color: oklch(57.7% 0.214 296.3);
Tailwind
colors: {
  custom: {
    50: '#b285ef',
    500: '#8951e6',
    950: '#000000',
  },
}
SCSS
$custom: #8951e6;
$custom-light: #b285ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8951e6",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 262.55,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.21424,
    "h": 296.3
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#8951E6
secondary
#D0E5AD
accent
#D70E8C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8951E6

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

Preview Lab → · Contrast checker → · Palette generator →

#8951E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva