#8E45E6#8E45E6

#8E45E6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.7% C 0.229 H 299.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8E45E6
RGBrgb(142, 69, 230)
HSLhsl(267, 76%, 59%)
HSVhsv(267, 70%, 90%)
CMYKcmyk(38.3%, 70%, 0%, 9.8%)
CIE-LABlab(46.60, 61.10, -69.81)
CIE-LCHlch(46.60, 92.77, 311.20°)
OKLaboklab(56.68% 0.1137 -0.1992)
OKLCHoklch(56.68% 0.229 299.7)
XYZxyz(27.5628, 15.7199, 76.4297)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45E6 #9DE645
analogous
#454CE6 #8E45E6 #DE45E6
triadic
#8E45E6 #E68E45 #45E68E
tetradic
#8E45E6 #E6454C #9DE645 #45E6DE
square
#8E45E6 #E6454C #9DE645 #45E6DE
split-complementary
#8E45E6 #E6DE45 #4CE645
monochromatic
#52159C #6E1CD2 #8E45E6 #AF7BED #D0B1F5

Accessibility & contrast

On white

5.07
#8E45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8E45E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45E6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45E6#FFFFFF#000000##FFFFFF
##8E45E61.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)
#006EEB
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#7A6C91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e45e6;
/* rgb */ color: rgb(142, 69, 230);
/* oklch */ color: oklch(56.7% 0.229 299.7);
Tailwind
colors: {
  custom: {
    50: '#b67eef',
    500: '#8e45e6',
    950: '#000000',
  },
}
SCSS
$custom: #8e45e6;
$custom-light: #b67eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45e6",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 267.205,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.22935,
    "h": 299.7
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#8E45E6
secondary
#C6E3A4
accent
#F3359D
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8E45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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