#8A75E4#8A75E4

#8A75E4 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.3% C 0.162 H 289.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A75E4
RGBrgb(138, 117, 228)
HSLhsl(251, 67%, 68%)
HSVhsv(251, 49%, 89%)
CMYKcmyk(39.5%, 48.7%, 0%, 10.6%)
CIE-LABlab(55.81, 34.05, -53.86)
CIE-LCHlch(55.81, 63.72, 302.30°)
OKLaboklab(63.28% 0.0545 -0.1525)
OKLCHoklch(63.28% 0.162 289.7)
XYZxyz(30.8423, 23.7264, 76.3384)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75E4 #CFE475
analogous
#7598E4 #8A75E4 #C175E4
triadic
#8A75E4 #E48A75 #75E48A
tetradic
#8A75E4 #E47598 #CFE475 #75E4C1
square
#8A75E4 #E47598 #CFE475 #75E4C1
split-complementary
#8A75E4 #E4C175 #98E475
monochromatic
#4124BA #5F42DA #8A75E4 #B5A8EE #E1DBF8

Accessibility & contrast

On white

3.66
#8A75E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A75E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75E4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75E4#FFFFFF#000000##000000
##8A75E41.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#728BA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a75e4;
/* rgb */ color: rgb(138, 117, 228);
/* oklch */ color: oklch(63.3% 0.162 289.7);
Tailwind
colors: {
  custom: {
    50: '#b09ded',
    500: '#8a75e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a75e4;
$custom-light: #b09ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75e4",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 251.351,
    "s": 67.273,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.16192,
    "h": 289.7
  },
  "luminance": 0.23727
}

Semantic roles & 50–950 ramp

primary
#8A75E4
secondary
#E5ECC9
accent
#CF16AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A75E4

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

Preview Lab → · Contrast checker → · Palette generator →

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