#8975E5#8975E5

#8975E5 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.3% C 0.163 H 289.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8975E5
RGBrgb(137, 117, 229)
HSLhsl(251, 68%, 68%)
HSVhsv(251, 49%, 90%)
CMYKcmyk(40.2%, 48.9%, 0%, 10.2%)
CIE-LABlab(55.78, 34.08, -54.47)
CIE-LCHlch(55.78, 64.26, 302.04°)
OKLaboklab(63.26% 0.0534 -0.1543)
OKLCHoklch(63.26% 0.163 289.1)
XYZxyz(30.8168, 23.6971, 77.0639)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975E5 #D1E575
analogous
#7599E5 #8975E5 #C175E5
triadic
#8975E5 #E58975 #75E589
tetradic
#8975E5 #E57599 #D1E575 #75E5C1
square
#8975E5 #E57599 #D1E575 #75E5C1
split-complementary
#8975E5 #E5C175 #99E575
monochromatic
#3F23BC #5D42DB #8975E5 #B5A8EF #E1DCF8

Accessibility & contrast

On white

3.66
#8975E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8975E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975E5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975E5#FFFFFF#000000##000000
##8975E51.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#6F8CA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8975e5;
/* rgb */ color: rgb(137, 117, 229);
/* oklch */ color: oklch(63.3% 0.163 289.1);
Tailwind
colors: {
  custom: {
    50: '#b09dee',
    500: '#8975e5',
    950: '#000000',
  },
}
SCSS
$custom: #8975e5;
$custom-light: #b09dee;
$custom-dark: #000000;
JSON
{
  "hex": "#8975e5",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 229
  },
  "hsl": {
    "h": 250.714,
    "s": 68.293,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.16328,
    "h": 289.1
  },
  "luminance": 0.23698
}

Semantic roles & 50–950 ramp

primary
#8975E5
secondary
#E6ECCA
accent
#D015AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8975E5

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

Preview Lab → · Contrast checker → · Palette generator →

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