#8A75D2#8A75D2

#8A75D2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.2% C 0.138 H 292.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A75D2
RGBrgb(138, 117, 210)
HSLhsl(254, 51%, 64%)
HSVhsv(254, 44%, 82%)
CMYKcmyk(34.3%, 44.3%, 0%, 17.6%)
CIE-LABlab(54.84, 29.19, -45.27)
CIE-LCHlch(54.84, 53.86, 302.82°)
OKLaboklab(62.24% 0.0523 -0.1273)
OKLCHoklch(62.24% 0.138 292.3)
XYZxyz(28.4724, 22.7784, 63.8568)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75D2 #BDD275
analogous
#758FD2 #8A75D2 #B975D2
triadic
#8A75D2 #D28A75 #75D28A
tetradic
#8A75D2 #D2758F #BDD275 #75D2B9
square
#8A75D2 #D2758F #BDD275 #75D2B9
split-complementary
#8A75D2 #D2B975 #8FD275
monochromatic
#4A329A #6347C3 #8A75D2 #B1A3E1 #D8D1F0

Accessibility & contrast

On white

3.78
#8A75D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A75D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75D2#FFFFFF#000000##000000
##8A75D21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D5
Deuteranopia (green-blind)
#5981D0
Tritanopia (blue-blind)
#798799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a75d2;
/* rgb */ color: rgb(138, 117, 210);
/* oklch */ color: oklch(62.2% 0.138 292.3);
Tailwind
colors: {
  custom: {
    50: '#af9de0',
    500: '#8a75d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a75d2;
$custom-light: #af9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75d2",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 210
  },
  "hsl": {
    "h": 253.548,
    "s": 50.82,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.13766,
    "h": 292.3
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#8A75D2
secondary
#DAE2C1
accent
#BE279C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A75D2

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

Preview Lab → · Contrast checker → · Palette generator →

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