#8A75E2#8A75E2

#8A75E2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.2% C 0.159 H 289.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A75E2
RGBrgb(138, 117, 226)
HSLhsl(252, 65%, 67%)
HSVhsv(252, 48%, 89%)
CMYKcmyk(38.9%, 48.2%, 0%, 11.4%)
CIE-LABlab(55.70, 33.50, -52.92)
CIE-LCHlch(55.70, 62.63, 302.34°)
OKLaboklab(63.16% 0.0543 -0.1497)
OKLCHoklch(63.16% 0.159 289.9)
XYZxyz(30.5662, 23.6159, 74.8846)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75E2 #CDE275
analogous
#7596E2 #8A75E2 #C175E2
triadic
#8A75E2 #E28A75 #75E28A
tetradic
#8A75E2 #E27596 #CDE275 #75E2C1
square
#8A75E2 #E27596 #CDE275 #75E2C1
split-complementary
#8A75E2 #E2C175 #96E275
monochromatic
#4226B6 #5F42D7 #8A75E2 #B5A8ED #E0DAF7

Accessibility & contrast

On white

3.67
#8A75E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A75E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75E2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75E2#FFFFFF#000000##000000
##8A75E21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#728BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a75e2;
/* rgb */ color: rgb(138, 117, 226);
/* oklch */ color: oklch(63.2% 0.159 289.9);
Tailwind
colors: {
  custom: {
    50: '#b09dec',
    500: '#8a75e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a75e2;
$custom-light: #b09dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75e2",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 251.56,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63164,
    "c": 0.15925,
    "h": 289.9
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#8A75E2
secondary
#E4EBC8
accent
#CD18AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A75E2

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

Preview Lab → · Contrast checker → · Palette generator →

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