#8975CB#8975CB

#8975CB is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.8% C 0.128 H 293.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8975CB
RGBrgb(137, 117, 203)
HSLhsl(254, 45%, 63%)
HSVhsv(254, 42%, 80%)
CMYKcmyk(32.5%, 42.4%, 0%, 20.4%)
CIE-LABlab(54.40, 27.08, -42.00)
CIE-LCHlch(54.40, 49.97, 302.81°)
OKLaboklab(61.77% 0.05 -0.1179)
OKLCHoklch(61.77% 0.128 293)
XYZxyz(27.4546, 22.3522, 59.3563)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975CB #B7CB75
analogous
#758CCB #8975CB #B475CB
triadic
#8975CB #CB8975 #75CB89
tetradic
#8975CB #CB758C #B7CB75 #75CBB4
square
#8975CB #CB758C #B7CB75 #75CBB4
split-complementary
#8975CB #CBB475 #8CCB75
monochromatic
#4B3690 #6349BA #8975CB #AFA1DC #D5CEEC

Accessibility & contrast

On white

3.84
#8975CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8975CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975CB#FFFFFF#000000##000000
##8975CB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8975cb;
/* rgb */ color: rgb(137, 117, 203);
/* oklch */ color: oklch(61.8% 0.128 293.0);
Tailwind
colors: {
  custom: {
    50: '#ae9ddb',
    500: '#8975cb',
    950: '#000000',
  },
}
SCSS
$custom: #8975cb;
$custom-light: #ae9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8975cb",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 253.953,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.12801,
    "h": 293
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#8975CB
secondary
#D6DDBE
accent
#B82D98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8975CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8975CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva