#8F4FCA#8F4FCA

#8F4FCA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.186 H 305.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F4FCA
RGBrgb(143, 79, 202)
HSLhsl(271, 54%, 55%)
HSVhsv(271, 61%, 79%)
CMYKcmyk(29.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(46.57, 49.71, -53.86)
CIE-LCHlch(46.57, 73.29, 312.71°)
OKLaboklab(56.08% 0.1071 -0.1523)
OKLCHoklch(56.08% 0.186 305.1)
XYZxyz(24.7820, 15.6960, 57.5897)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FCA #8ACA4F
analogous
#524FCA #8F4FCA #CA4FC7
triadic
#8F4FCA #CA8F4F #4FCA8F
tetradic
#8F4FCA #CA524F #8ACA4F #4FC7CA
square
#8F4FCA #CA524F #8ACA4F #4FC7CA
split-complementary
#8F4FCA #C7CA4F #4FCA52
monochromatic
#51257A #7033A9 #8F4FCA #AD7ED8 #CBADE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4FCA#FFFFFF#000000##FFFFFF
##8F4FCA1.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)
#0A6DCE
Deuteranopia (green-blind)
#336FC7
Tritanopia (blue-blind)
#856885
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fca;
/* rgb */ color: rgb(143, 79, 202);
/* oklch */ color: oklch(56.1% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#b483db',
    500: '#8f4fca',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fca;
$custom-light: #b483db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fca",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 271.22,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.18622,
    "h": 305.1
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#8F4FCA
secondary
#B9D4A1
accent
#DD4B91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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