#8A75CB#8A75CB

#8A75CB is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.9% C 0.128 H 293.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A75CB
RGBrgb(138, 117, 203)
HSLhsl(255, 45%, 63%)
HSVhsv(255, 42%, 80%)
CMYKcmyk(32%, 42.4%, 0%, 20.4%)
CIE-LABlab(54.49, 27.35, -41.86)
CIE-LCHlch(54.49, 50.00, 303.16°)
OKLaboklab(61.86% 0.0512 -0.1174)
OKLCHoklch(61.86% 0.128 293.5)
XYZxyz(27.6193, 22.4372, 59.3640)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75CB #B6CB75
analogous
#758BCB #8A75CB #B575CB
triadic
#8A75CB #CB8A75 #75CB8A
tetradic
#8A75CB #CB758B #B6CB75 #75CBB5
square
#8A75CB #CB758B #B6CB75 #75CBB5
split-complementary
#8A75CB #CBB575 #8BCB75
monochromatic
#4C3690 #6449BA #8A75CB #B0A1DC #D5CEEC

Accessibility & contrast

On white

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

On black

5.49
#8A75CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75CB#FFFFFF#000000##000000
##8A75CB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CE
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#7B8596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a75cb;
/* rgb */ color: rgb(138, 117, 203);
/* oklch */ color: oklch(61.9% 0.128 293.5);
Tailwind
colors: {
  custom: {
    50: '#ae9ddb',
    500: '#8a75cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a75cb;
$custom-light: #ae9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75cb",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 254.651,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.12807,
    "h": 293.5
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#8A75CB
secondary
#D6DDBE
accent
#B82D96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A75CB

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

Preview Lab → · Contrast checker → · Palette generator →

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