#8975CC#8975CC

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

Color values

HEX#8975CC
RGBrgb(137, 117, 204)
HSLhsl(254, 46%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(32.8%, 42.6%, 0%, 20%)
CIE-LABlab(54.45, 27.34, -42.49)
CIE-LCHlch(54.45, 50.53, 302.76°)
OKLaboklab(61.82% 0.0501 -0.1193)
OKLCHoklch(61.82% 0.129 292.8)
XYZxyz(27.5741, 22.4000, 59.9859)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975CC #B8CC75
analogous
#758CCC #8975CC #B475CC
triadic
#8975CC #CC8975 #75CC89
tetradic
#8975CC #CC758C #B8CC75 #75CCB4
square
#8975CC #CC758C #B8CC75 #75CCB4
split-complementary
#8975CC #CCB475 #8CCC75
monochromatic
#4B3691 #6348BB #8975CC #AFA2DD #D5CEED

Accessibility & contrast

On white

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

On black

5.48
#8975CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975CC#FFFFFF#000000##000000
##8975CC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CF
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#798597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8975cc;
/* rgb */ color: rgb(137, 117, 204);
/* oklch */ color: oklch(61.8% 0.129 292.8);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8975cc',
    950: '#000000',
  },
}
SCSS
$custom: #8975cc;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8975cc",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 253.793,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.12939,
    "h": 292.8
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#8975CC
secondary
#D7DEBF
accent
#B92C99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8975CC

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

Preview Lab → · Contrast checker → · Palette generator →

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