#8D7BE1#8D7BE1

#8D7BE1 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.4% C 0.149 H 289.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8D7BE1
RGBrgb(141, 123, 225)
HSLhsl(251, 63%, 68%)
HSVhsv(251, 45%, 88%)
CMYKcmyk(37.3%, 45.3%, 0%, 11.8%)
CIE-LABlab(57.33, 30.49, -49.75)
CIE-LCHlch(57.33, 58.35, 301.51°)
OKLaboklab(64.44% 0.0501 -0.1403)
OKLCHoklch(64.44% 0.149 289.7)
XYZxyz(31.6544, 25.2640, 74.4282)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BE1 #CFE17B
analogous
#7B9CE1 #8D7BE1 #C07BE1
triadic
#8D7BE1 #E18D7B #7BE18D
tetradic
#8D7BE1 #E17B9C #CFE17B #7BE1C0
square
#8D7BE1 #E17B9C #CFE17B #7BE1C0
split-complementary
#8D7BE1 #E1C07B #9CE17B
monochromatic
#432AB8 #6249D6 #8D7BE1 #B8ADEC #E3DFF8

Accessibility & contrast

On white

3.47
#8D7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8D7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BE1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BE1#FFFFFF#000000##000000
##8D7BE11.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE5
Deuteranopia (green-blind)
#5887DF
Tritanopia (blue-blind)
#778FA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d7be1;
/* rgb */ color: rgb(141, 123, 225);
/* oklch */ color: oklch(64.4% 0.149 289.7);
Tailwind
colors: {
  custom: {
    50: '#b2a1eb',
    500: '#8d7be1',
    950: '#000000',
  },
}
SCSS
$custom: #8d7be1;
$custom-light: #b2a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7be1",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 250.588,
    "s": 62.963,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64436,
    "c": 0.14903,
    "h": 289.7
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#8D7BE1
secondary
#E6EBCC
accent
#CB1BAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8D7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7BE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva