#8950D2#8950D2

#8950D2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.193 H 300.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8950D2
RGBrgb(137, 80, 210)
HSLhsl(266, 59%, 57%)
HSVhsv(266, 62%, 82%)
CMYKcmyk(34.8%, 61.9%, 0%, 17.6%)
CIE-LABlab(46.59, 49.78, -58.47)
CIE-LCHlch(46.59, 76.79, 310.41°)
OKLaboklab(56.1% 0.0977 -0.166)
OKLCHoklch(56.1% 0.193 300.5)
XYZxyz(24.8152, 15.7087, 62.6850)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950D2 #99D250
analogous
#5058D2 #8950D2 #CA50D2
triadic
#8950D2 #D28950 #50D289
tetradic
#8950D2 #D25058 #99D250 #50D2CA
square
#8950D2 #D25058 #99D250 #50D2CA
split-complementary
#8950D2 #D2CA50 #58D250
monochromatic
#4E2285 #6A2FB6 #8950D2 #AA81DF #CBB1EB

Accessibility & contrast

On white

5.07
#8950D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8950D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950D2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950D2#FFFFFF#000000##FFFFFF
##8950D21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#1F6ECF
Tritanopia (blue-blind)
#796C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8950d2;
/* rgb */ color: rgb(137, 80, 210);
/* oklch */ color: oklch(56.1% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#b084e1',
    500: '#8950d2',
    950: '#000000',
  },
}
SCSS
$custom: #8950d2;
$custom-light: #b084e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8950d2",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 266.308,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.561,
    "c": 0.19267,
    "h": 300.5
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#8950D2
secondary
#C2D9A4
accent
#E2469E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8950D2

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

Preview Lab → · Contrast checker → · Palette generator →

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