#8975CA#8975CA

#8975CA is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.7% C 0.127 H 293.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8975CA
RGBrgb(137, 117, 202)
HSLhsl(254, 45%, 63%)
HSVhsv(254, 42%, 79%)
CMYKcmyk(32.2%, 42.1%, 0%, 20.8%)
CIE-LABlab(54.35, 26.81, -41.51)
CIE-LCHlch(54.35, 49.42, 302.86°)
OKLaboklab(61.71% 0.0498 -0.1164)
OKLCHoklch(61.71% 0.127 293.1)
XYZxyz(27.3358, 22.3047, 58.7307)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975CA #B6CA75
analogous
#758BCA #8975CA #B475CA
triadic
#8975CA #CA8975 #75CA89
tetradic
#8975CA #CA758B #B6CA75 #75CAB4
square
#8975CA #CA758B #B6CA75 #75CAB4
split-complementary
#8975CA #CAB475 #8BCA75
monochromatic
#4B378E #6349B9 #8975CA #AFA1DB #D5CDEC

Accessibility & contrast

On white

3.85
#8975CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8975CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975CA#FFFFFF#000000##000000
##8975CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8975ca;
/* rgb */ color: rgb(137, 117, 202);
/* oklch */ color: oklch(61.7% 0.127 293.1);
Tailwind
colors: {
  custom: {
    50: '#ae9dda',
    500: '#8975ca',
    950: '#000000',
  },
}
SCSS
$custom: #8975ca;
$custom-light: #ae9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8975ca",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 254.118,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.12663,
    "h": 293.1
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8975CA

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

Preview Lab → · Contrast checker → · Palette generator →

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