#8A75EC#8A75EC

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

Color values

HEX#8A75EC
RGBrgb(138, 117, 236)
HSLhsl(251, 76%, 69%)
HSVhsv(251, 50%, 93%)
CMYKcmyk(41.5%, 50.4%, 0%, 7.5%)
CIE-LABlab(56.27, 36.26, -57.60)
CIE-LCHlch(56.27, 68.06, 302.19°)
OKLaboklab(63.77% 0.0552 -0.1635)
OKLCHoklch(63.77% 0.173 288.6)
XYZxyz(31.9786, 24.1809, 82.3231)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75EC #D7EC75
analogous
#759CEC #8A75EC #C675EC
triadic
#8A75EC #EC8A75 #75EC8A
tetradic
#8A75EC #EC759C #D7EC75 #75ECC6
square
#8A75EC #EC759C #D7EC75 #75ECC6
split-complementary
#8A75EC #ECC675 #9CEC75
monochromatic
#3B1CCB #5C3FE5 #8A75EC #B8ABF3 #E5E1FB

Accessibility & contrast

On white

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

On black

5.84
#8A75EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75EC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75EC#FFFFFF#000000##000000
##8A75EC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF0
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#6E8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a75ec;
/* rgb */ color: rgb(138, 117, 236);
/* oklch */ color: oklch(63.8% 0.173 288.6);
Tailwind
colors: {
  custom: {
    50: '#b19df3',
    500: '#8a75ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a75ec;
$custom-light: #b19df3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75ec",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 250.588,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.17251,
    "h": 288.6
  },
  "luminance": 0.24182
}

Semantic roles & 50–950 ramp

primary
#8A75EC
secondary
#EAF0CD
accent
#D80EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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