#8F74EB#8F74EB

#8F74EB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.173 H 291.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F74EB
RGBrgb(143, 116, 235)
HSLhsl(254, 75%, 69%)
HSVhsv(254, 51%, 92%)
CMYKcmyk(39.1%, 50.6%, 0%, 7.8%)
CIE-LABlab(56.41, 37.74, -56.78)
CIE-LCHlch(56.41, 68.18, 303.61°)
OKLaboklab(63.97% 0.0623 -0.1609)
OKLCHoklch(63.97% 0.173 291.2)
XYZxyz(32.5644, 24.3277, 81.5611)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74EB #D0EB74
analogous
#7495EB #8F74EB #CA74EB
triadic
#8F74EB #EB8F74 #74EB8F
tetradic
#8F74EB #EB7495 #D0EB74 #74EBCA
square
#8F74EB #EB7495 #D0EB74 #74EBCA
split-complementary
#8F74EB #EBCA74 #95EB74
monochromatic
#441DC8 #643EE3 #8F74EB #BAAAF3 #E5DFFA

Accessibility & contrast

On white

3.58
#8F74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8F74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74EB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74EB#FFFFFF#000000##000000
##8F74EB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#778CA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f74eb;
/* rgb */ color: rgb(143, 116, 235);
/* oklch */ color: oklch(64.0% 0.173 291.2);
Tailwind
colors: {
  custom: {
    50: '#b49cf2',
    500: '#8f74eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f74eb;
$custom-light: #b49cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74eb",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 253.613,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.17258,
    "h": 291.2
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#8F74EB
secondary
#E7EFCC
accent
#D70FAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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