#8950D7#8950D7

#8950D7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.198 H 299.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8950D7
RGBrgb(137, 80, 215)
HSLhsl(265, 63%, 58%)
HSVhsv(265, 63%, 84%)
CMYKcmyk(36.3%, 62.8%, 0%, 15.7%)
CIE-LABlab(46.92, 51.04, -60.79)
CIE-LCHlch(46.92, 79.37, 310.02°)
OKLaboklab(56.45% 0.0974 -0.1729)
OKLCHoklch(56.45% 0.198 299.4)
XYZxyz(25.4479, 15.9617, 66.0170)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950D7 #9ED750
analogous
#505AD7 #8950D7 #CC50D7
triadic
#8950D7 #D78950 #50D789
tetradic
#8950D7 #D7505A #9ED750 #50D7CC
square
#8950D7 #D7505A #9ED750 #50D7CC
split-complementary
#8950D7 #D7CC50 #5AD750
monochromatic
#4E208C #692BBE #8950D7 #AB82E2 #CCB4EE

Accessibility & contrast

On white

5.01
#8950D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8950D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950D7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950D7#FFFFFF#000000##FFFFFF
##8950D71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#786E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8950d7;
/* rgb */ color: rgb(137, 80, 215);
/* oklch */ color: oklch(56.4% 0.198 299.4);
Tailwind
colors: {
  custom: {
    50: '#b084e4',
    500: '#8950d7',
    950: '#000000',
  },
}
SCSS
$custom: #8950d7;
$custom-light: #b084e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8950d7",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 265.333,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.19841,
    "h": 299.4
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#8950D7
secondary
#C6DCA6
accent
#E642A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8950D7

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

Preview Lab → · Contrast checker → · Palette generator →

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