#8975D2#8975D2

#8975D2 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.2% C 0.138 H 291.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8975D2
RGBrgb(137, 117, 210)
HSLhsl(253, 51%, 64%)
HSVhsv(253, 44%, 82%)
CMYKcmyk(34.8%, 44.3%, 0%, 17.6%)
CIE-LABlab(54.76, 28.93, -45.41)
CIE-LCHlch(54.76, 53.84, 302.50°)
OKLaboklab(62.15% 0.0511 -0.1278)
OKLCHoklch(62.15% 0.138 291.8)
XYZxyz(28.3076, 22.6935, 63.8491)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975D2 #BED275
analogous
#7590D2 #8975D2 #B875D2
triadic
#8975D2 #D28975 #75D289
tetradic
#8975D2 #D27590 #BED275 #75D2B8
square
#8975D2 #D27590 #BED275 #75D2B8
split-complementary
#8975D2 #D2B875 #90D275
monochromatic
#49329A #6247C3 #8975D2 #B0A3E1 #D8D1F0

Accessibility & contrast

On white

3.79
#8975D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8975D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975D2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975D2#FFFFFF#000000##000000
##8975D21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#5881D0
Tritanopia (blue-blind)
#778799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8975d2;
/* rgb */ color: rgb(137, 117, 210);
/* oklch */ color: oklch(62.2% 0.138 291.8);
Tailwind
colors: {
  custom: {
    50: '#ae9de0',
    500: '#8975d2',
    950: '#000000',
  },
}
SCSS
$custom: #8975d2;
$custom-light: #ae9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8975d2",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 210
  },
  "hsl": {
    "h": 252.903,
    "s": 50.82,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62152,
    "c": 0.13763,
    "h": 291.8
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#8975D2
secondary
#DBE2C1
accent
#BE279E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8975D2

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

Preview Lab → · Contrast checker → · Palette generator →

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