#8975DF#8975DF

#8975DF is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.9% C 0.155 H 289.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8975DF
RGBrgb(137, 117, 223)
HSLhsl(251, 62%, 67%)
HSVhsv(251, 48%, 87%)
CMYKcmyk(38.6%, 47.5%, 0%, 12.5%)
CIE-LABlab(55.45, 32.44, -51.64)
CIE-LCHlch(55.45, 60.98, 302.13°)
OKLaboklab(62.9% 0.0528 -0.146)
OKLCHoklch(62.9% 0.155 289.9)
XYZxyz(29.9935, 23.3678, 72.7279)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975DF #CBDF75
analogous
#7596DF #8975DF #BE75DF
triadic
#8975DF #DF8975 #75DF89
tetradic
#8975DF #DF7596 #CBDF75 #75DFBE
square
#8975DF #DF7596 #CBDF75 #75DFBE
split-complementary
#8975DF #DFBE75 #96DF75
monochromatic
#4329B1 #5F43D3 #8975DF #B3A7EB #DED8F6

Accessibility & contrast

On white

3.70
#8975DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8975DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975DF#FFFFFF#000000##000000
##8975DF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#4E82DD
Tritanopia (blue-blind)
#728A9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8975df;
/* rgb */ color: rgb(137, 117, 223);
/* oklch */ color: oklch(62.9% 0.155 289.9);
Tailwind
colors: {
  custom: {
    50: '#af9de9',
    500: '#8975df',
    950: '#000000',
  },
}
SCSS
$custom: #8975df;
$custom-light: #af9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#8975df",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 251.321,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.629,
    "c": 0.15525,
    "h": 289.9
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

primary
#8975DF
secondary
#E3E9C7
accent
#CA1BA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8975DF

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

Preview Lab → · Contrast checker → · Palette generator →

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