#8E45CF#8E45CF

#8E45CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.205 H 304.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8E45CF
RGBrgb(142, 69, 207)
HSLhsl(272, 59%, 54%)
HSVhsv(272, 67%, 81%)
CMYKcmyk(31.4%, 66.7%, 0%, 18.8%)
CIE-LABlab(44.96, 55.64, -59.35)
CIE-LCHlch(44.96, 81.35, 313.16°)
OKLaboklab(54.99% 0.117 -0.1684)
OKLCHoklch(54.99% 0.205 304.8)
XYZxyz(24.5434, 14.5121, 60.5275)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45CF #86CF45
analogous
#4945CF #8E45CF #CF45CB
triadic
#8E45CF #CF8E45 #45CF8E
tetradic
#8E45CF #CF4945 #86CF45 #45CBCF
square
#8E45CF #CF4945 #86CF45 #45CBCF
split-complementary
#8E45CF #CBCF45 #45CF49
monochromatic
#4F207A #6F2CAB #8E45CF #AC76DC #C9A6E8

Accessibility & contrast

On white

5.38
#8E45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8E45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45CF#FFFFFF#000000##FFFFFF
##8E45CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#826484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e45cf;
/* rgb */ color: rgb(142, 69, 207);
/* oklch */ color: oklch(55.0% 0.205 304.8);
Tailwind
colors: {
  custom: {
    50: '#b47ede',
    500: '#8e45cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e45cf;
$custom-light: #b47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45cf",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 271.739,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.20507,
    "h": 304.8
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#8E45CF
secondary
#B6D59B
accent
#E2468F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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