#8A75CD#8A75CD

#8A75CD is a mid, vivid violet. Relative luminance 0.225; OKLCH L 62.0% C 0.131 H 293.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A75CD
RGBrgb(138, 117, 205)
HSLhsl(254, 47%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(32.7%, 42.9%, 0%, 19.6%)
CIE-LABlab(54.59, 27.87, -42.83)
CIE-LCHlch(54.59, 51.11, 303.05°)
OKLaboklab(61.96% 0.0515 -0.1203)
OKLCHoklch(61.96% 0.131 293.2)
XYZxyz(27.8592, 22.5331, 60.6273)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75CD #B8CD75
analogous
#758CCD #8A75CD #B675CD
triadic
#8A75CD #CD8A75 #75CD8A
tetradic
#8A75CD #CD758C #B8CD75 #75CDB6
square
#8A75CD #CD758C #B8CD75 #75CDB6
split-complementary
#8A75CD #CDB675 #8CCD75
monochromatic
#4B3593 #6448BD #8A75CD #B0A2DD #D6CFEE

Accessibility & contrast

On white

3.81
#8A75CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A75CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75CD#FFFFFF#000000##000000
##8A75CD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#7A8597
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a75cd;
/* rgb */ color: rgb(138, 117, 205);
/* oklch */ color: oklch(62.0% 0.131 293.2);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8a75cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a75cd;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75cd",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 254.318,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.13082,
    "h": 293.2
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#8A75CD
secondary
#D7DFBF
accent
#BA2B98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A75CD

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

Preview Lab → · Contrast checker → · Palette generator →

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