#8A75CA#8A75CA

#8A75CA is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.8% C 0.127 H 293.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A75CA
RGBrgb(138, 117, 202)
HSLhsl(255, 45%, 63%)
HSVhsv(255, 42%, 79%)
CMYKcmyk(31.7%, 42.1%, 0%, 20.8%)
CIE-LABlab(54.44, 27.09, -41.37)
CIE-LCHlch(54.44, 49.45, 303.22°)
OKLaboklab(61.8% 0.051 -0.116)
OKLCHoklch(61.8% 0.127 293.7)
XYZxyz(27.5005, 22.3896, 58.7384)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75CA #B5CA75
analogous
#758ACA #8A75CA #B575CA
triadic
#8A75CA #CA8A75 #75CA8A
tetradic
#8A75CA #CA758A #B5CA75 #75CAB5
square
#8A75CA #CA758A #B5CA75 #75CAB5
split-complementary
#8A75CA #CAB575 #8ACA75
monochromatic
#4C378E #6549B9 #8A75CA #AFA1DB #D5CDEC

Accessibility & contrast

On white

3.83
#8A75CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A75CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75CA#FFFFFF#000000##000000
##8A75CA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#7C8596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a75ca;
/* rgb */ color: rgb(138, 117, 202);
/* oklch */ color: oklch(61.8% 0.127 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae9dda',
    500: '#8a75ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a75ca;
$custom-light: #ae9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75ca",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 254.824,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.1267,
    "h": 293.7
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#8A75CA
secondary
#D5DDBE
accent
#B82E96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A75CA

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

Preview Lab → · Contrast checker → · Palette generator →

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