#8950D4#8950D4

#8950D4 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.195 H 300.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8950D4
RGBrgb(137, 80, 212)
HSLhsl(266, 61%, 57%)
HSVhsv(266, 62%, 83%)
CMYKcmyk(35.4%, 62.3%, 0%, 16.9%)
CIE-LABlab(46.72, 50.28, -59.40)
CIE-LCHlch(46.72, 77.82, 310.25°)
OKLaboklab(56.24% 0.0976 -0.1688)
OKLCHoklch(56.24% 0.195 300)
XYZxyz(25.0660, 15.8089, 64.0054)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950D4 #9BD450
analogous
#5059D4 #8950D4 #CB50D4
triadic
#8950D4 #D48950 #50D489
tetradic
#8950D4 #D45059 #9BD450 #50D4CB
square
#8950D4 #D45059 #9BD450 #50D4CB
split-complementary
#8950D4 #D4CB50 #59D450
monochromatic
#4E2188 #6A2EB9 #8950D4 #AA81E0 #CBB2EC

Accessibility & contrast

On white

5.05
#8950D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8950D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950D4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950D4#FFFFFF#000000##FFFFFF
##8950D41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#1B6ED1
Tritanopia (blue-blind)
#796D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8950d4;
/* rgb */ color: rgb(137, 80, 212);
/* oklch */ color: oklch(56.2% 0.195 300.0);
Tailwind
colors: {
  custom: {
    50: '#b084e2',
    500: '#8950d4',
    950: '#000000',
  },
}
SCSS
$custom: #8950d4;
$custom-light: #b084e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8950d4",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 265.909,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19497,
    "h": 300
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#8950D4
secondary
#C4DBA5
accent
#E4449F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8950D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8950D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva