#8975CD#8975CD

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

Color values

HEX#8975CD
RGBrgb(137, 117, 205)
HSLhsl(254, 47%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(33.2%, 42.9%, 0%, 19.6%)
CIE-LABlab(54.50, 27.60, -42.98)
CIE-LCHlch(54.50, 51.08, 302.71°)
OKLaboklab(61.88% 0.0503 -0.1207)
OKLCHoklch(61.88% 0.131 292.6)
XYZxyz(27.6944, 22.4482, 60.6196)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975CD #B9CD75
analogous
#758DCD #8975CD #B575CD
triadic
#8975CD #CD8975 #75CD89
tetradic
#8975CD #CD758D #B9CD75 #75CDB5
square
#8975CD #CD758D #B9CD75 #75CDB5
split-complementary
#8975CD #CDB575 #8DCD75
monochromatic
#4A3593 #6348BD #8975CD #AFA2DD #D6CFEE

Accessibility & contrast

On white

3.83
#8975CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8975CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975CD#FFFFFF#000000##000000
##8975CD1.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)
#5984D0
Deuteranopia (green-blind)
#5B81CB
Tritanopia (blue-blind)
#798597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8975cd;
/* rgb */ color: rgb(137, 117, 205);
/* oklch */ color: oklch(61.9% 0.131 292.6);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8975cd',
    950: '#000000',
  },
}
SCSS
$custom: #8975cd;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8975cd",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 253.636,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.13076,
    "h": 292.6
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#8975CD
secondary
#D7DFBF
accent
#BA2B9A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8975CD

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

Preview Lab → · Contrast checker → · Palette generator →

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