#8F45E1#8F45E1

#8F45E1 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.224 H 301.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F45E1
RGBrgb(143, 69, 225)
HSLhsl(268, 72%, 58%)
HSVhsv(268, 69%, 88%)
CMYKcmyk(36.4%, 69.3%, 0%, 11.8%)
CIE-LABlab(46.35, 60.09, -67.37)
CIE-LCHlch(46.35, 90.28, 311.73°)
OKLaboklab(56.42% 0.1159 -0.192)
OKLCHoklch(56.42% 0.224 301.1)
XYZxyz(27.0431, 15.5320, 72.7928)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45E1 #97E145
analogous
#4549E1 #8F45E1 #DD45E1
triadic
#8F45E1 #E18F45 #45E18F
tetradic
#8F45E1 #E14549 #97E145 #45E1DD
square
#8F45E1 #E14549 #97E145 #45E1DD
split-complementary
#8F45E1 #E1DD45 #49E145
monochromatic
#531894 #7020C8 #8F45E1 #AF7AE9 #CEAEF2

Accessibility & contrast

On white

5.11
#8F45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F45E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45E1#FFFFFF#000000##FFFFFF
##8F45E11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#7D6A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f45e1;
/* rgb */ color: rgb(143, 69, 225);
/* oklch */ color: oklch(56.4% 0.224 301.1);
Tailwind
colors: {
  custom: {
    50: '#b67eeb',
    500: '#8f45e1',
    950: '#000000',
  },
}
SCSS
$custom: #8f45e1;
$custom-light: #b67eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45e1",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 268.462,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.22426,
    "h": 301.1
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#8F45E1
secondary
#C3E0A2
accent
#EF3999
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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