#8D45E0#8D45E0

#8D45E0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.223 H 300.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D45E0
RGBrgb(141, 69, 224)
HSLhsl(268, 71%, 57%)
HSVhsv(268, 69%, 88%)
CMYKcmyk(37.1%, 69.2%, 0%, 12.2%)
CIE-LABlab(46.04, 59.48, -67.32)
CIE-LCHlch(46.04, 89.83, 311.46°)
OKLaboklab(56.12% 0.1133 -0.1919)
OKLCHoklch(56.12% 0.223 300.6)
XYZxyz(26.5639, 15.3006, 72.0604)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45E0 #98E045
analogous
#454AE0 #8D45E0 #DB45E0
triadic
#8D45E0 #E08D45 #45E08D
tetradic
#8D45E0 #E0454A #98E045 #45E0DB
square
#8D45E0 #E0454A #98E045 #45E0DB
split-complementary
#8D45E0 #E0DB45 #4AE045
monochromatic
#511892 #6E21C7 #8D45E0 #AD79E9 #CDAEF1

Accessibility & contrast

On white

5.17
#8D45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D45E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45E0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45E0#FFFFFF#000000##FFFFFF
##8D45E01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#7B6A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d45e0;
/* rgb */ color: rgb(141, 69, 224);
/* oklch */ color: oklch(56.1% 0.223 300.6);
Tailwind
colors: {
  custom: {
    50: '#b47eeb',
    500: '#8d45e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d45e0;
$custom-light: #b47eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45e0",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 267.871,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.22288,
    "h": 300.6
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#8D45E0
secondary
#C3E0A1
accent
#EE3A9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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