#8B74EE#8B74EE

#8B74EE is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.8% C 0.177 H 289.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8B74EE
RGBrgb(139, 116, 238)
HSLhsl(251, 78%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(41.6%, 51.3%, 0%, 6.7%)
CIE-LABlab(56.24, 37.62, -58.76)
CIE-LCHlch(56.24, 69.77, 302.63°)
OKLaboklab(63.81% 0.0577 -0.1668)
OKLCHoklch(63.81% 0.177 289.1)
XYZxyz(32.3212, 24.1517, 83.8311)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B74EE #D7EE74
analogous
#749AEE #8B74EE #C874EE
triadic
#8B74EE #EE8B74 #74EE8B
tetradic
#8B74EE #EE749A #D7EE74 #74EEC8
square
#8B74EE #EE749A #D7EE74 #74EEC8
split-complementary
#8B74EE #EEC874 #9AEE74
monochromatic
#3B19CE #5D3DE7 #8B74EE #B9ABF5 #E6E1FB

Accessibility & contrast

On white

3.60
#8B74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8B74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B74EE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B74EE#FFFFFF#000000##000000
##8B74EE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F2
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#6F8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b74ee;
/* rgb */ color: rgb(139, 116, 238);
/* oklch */ color: oklch(63.8% 0.177 289.1);
Tailwind
colors: {
  custom: {
    50: '#b29cf4',
    500: '#8b74ee',
    950: '#000000',
  },
}
SCSS
$custom: #8b74ee;
$custom-light: #b29cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b74ee",
  "rgb": {
    "r": 139,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 251.311,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.17652,
    "h": 289.1
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#8B74EE
secondary
#EAF0CD
accent
#DA0BB3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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