#8975F5#8975F5

#8975F5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.3% C 0.184 H 287.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8975F5
RGBrgb(137, 117, 245)
HSLhsl(249, 86%, 71%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(44.1%, 52.2%, 0%, 3.9%)
CIE-LABlab(56.72, 38.54, -61.89)
CIE-LCHlch(56.72, 72.91, 301.91°)
OKLaboklab(64.26% 0.0545 -0.1761)
OKLCHoklch(64.26% 0.184 287.2)
XYZxyz(33.1545, 24.6322, 89.3761)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8975F5 #E1F575
analogous
#75A1F5 #8975F5 #C975F5
triadic
#8975F5 #F58975 #75F589
tetradic
#8975F5 #F575A1 #E1F575 #75F5C9
square
#8975F5 #F575A1 #E1F575 #75F5C9
split-complementary
#8975F5 #F5C975 #A1F575
monochromatic
#3110DF #583CF1 #8975F5 #BAAEF9 #E7E2FD

Accessibility & contrast

On white

3.54
#8975F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8975F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8975F5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8975F5#FFFFFF#000000##000000
##8975F51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#6890AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8975f5;
/* rgb */ color: rgb(137, 117, 245);
/* oklch */ color: oklch(64.3% 0.184 287.2);
Tailwind
colors: {
  custom: {
    50: '#b19df9',
    500: '#8975f5',
    950: '#000000',
  },
}
SCSS
$custom: #8975f5;
$custom-light: #b19df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8975f5",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 249.375,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64256,
    "c": 0.18433,
    "h": 287.2
  },
  "luminance": 0.24634
}

Semantic roles & 50–950 ramp

primary
#8975F5
secondary
#EFF4D2
accent
#E302C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8975F5

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

Preview Lab → · Contrast checker → · Palette generator →

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