#8F74EE#8F74EE

#8F74EE is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.176 H 290.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F74EE
RGBrgb(143, 116, 238)
HSLhsl(253, 78%, 69%)
HSVhsv(253, 51%, 93%)
CMYKcmyk(39.9%, 51.3%, 0%, 6.7%)
CIE-LABlab(56.59, 38.55, -58.18)
CIE-LCHlch(56.59, 69.79, 303.53°)
OKLaboklab(64.15% 0.0626 -0.165)
OKLCHoklch(64.15% 0.176 290.8)
XYZxyz(33.0015, 24.5025, 83.8630)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74EE #D3EE74
analogous
#7496EE #8F74EE #CC74EE
triadic
#8F74EE #EE8F74 #74EE8F
tetradic
#8F74EE #EE7496 #D3EE74 #74EECC
square
#8F74EE #EE7496 #D3EE74 #74EECC
split-complementary
#8F74EE #EECC74 #96EE74
monochromatic
#4119CE #633DE7 #8F74EE #BBABF5 #E7E1FB

Accessibility & contrast

On white

3.56
#8F74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8F74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74EE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74EE#FFFFFF#000000##000000
##8F74EE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#758DA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f74ee;
/* rgb */ color: rgb(143, 116, 238);
/* oklch */ color: oklch(64.2% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#b49cf4',
    500: '#8f74ee',
    950: '#000000',
  },
}
SCSS
$custom: #8f74ee;
$custom-light: #b49cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74ee",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 253.279,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64153,
    "c": 0.17649,
    "h": 290.8
  },
  "luminance": 0.24503
}

Semantic roles & 50–950 ramp

primary
#8F74EE
secondary
#E9F0CD
accent
#DA0BAD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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