#8F74EA#8F74EA

#8F74EA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.9% C 0.171 H 291.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F74EA
RGBrgb(143, 116, 234)
HSLhsl(254, 74%, 69%)
HSVhsv(254, 50%, 92%)
CMYKcmyk(38.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(56.36, 37.47, -56.32)
CIE-LCHlch(56.36, 67.64, 303.64°)
OKLaboklab(63.91% 0.0623 -0.1596)
OKLCHoklch(63.91% 0.171 291.3)
XYZxyz(32.4204, 24.2700, 80.8024)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74EA #CFEA74
analogous
#7494EA #8F74EA #CA74EA
triadic
#8F74EA #EA8F74 #74EA8F
tetradic
#8F74EA #EA7494 #CFEA74 #74EACA
square
#8F74EA #EA7494 #CFEA74 #74EACA
split-complementary
#8F74EA #EACA74 #94EA74
monochromatic
#441EC6 #643FE2 #8F74EA #BAA9F2 #E5DEFA

Accessibility & contrast

On white

3.59
#8F74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74EA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74EA#FFFFFF#000000##000000
##8F74EA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#4785E7
Tritanopia (blue-blind)
#778CA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f74ea;
/* rgb */ color: rgb(143, 116, 234);
/* oklch */ color: oklch(63.9% 0.171 291.3);
Tailwind
colors: {
  custom: {
    50: '#b49cf1',
    500: '#8f74ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f74ea;
$custom-light: #b49cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74ea",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 253.729,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.17129,
    "h": 291.3
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#8F74EA
secondary
#E6EFCB
accent
#D610A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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