#8F45C8#8F45C8

#8F45C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.198 H 306.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8F45C8
RGBrgb(143, 69, 200)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 66%, 78%)
CMYKcmyk(28.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(44.61, 54.24, -55.86)
CIE-LCHlch(44.61, 77.86, 314.16°)
OKLaboklab(54.62% 0.119 -0.1582)
OKLCHoklch(54.62% 0.198 306.9)
XYZxyz(23.8789, 14.2663, 56.1281)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45C8 #7EC845
analogous
#4D45C8 #8F45C8 #C845C0
triadic
#8F45C8 #C88F45 #45C88F
tetradic
#8F45C8 #C84D45 #7EC845 #45C0C8
square
#8F45C8 #C84D45 #7EC845 #45C0C8
split-complementary
#8F45C8 #C0C845 #45C84D
monochromatic
#4E2171 #6F2FA0 #8F45C8 #AB74D6 #C8A3E4

Accessibility & contrast

On white

5.45
#8F45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8F45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45C8#FFFFFF#000000##FFFFFF
##8F45C81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#866181
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f45c8;
/* rgb */ color: rgb(143, 69, 200);
/* oklch */ color: oklch(54.6% 0.198 306.9);
Tailwind
colors: {
  custom: {
    50: '#b47dd9',
    500: '#8f45c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f45c8;
$custom-light: #b47dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45c8",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 273.893,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.19789,
    "h": 306.9
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

primary
#8F45C8
secondary
#B1D198
accent
#DE4A8A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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