#975BE8#975BE8

#975BE8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.205 H 299.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#975BE8
RGBrgb(151, 91, 232)
HSLhsl(266, 75%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.9%, 60.8%, 0%, 9%)
CIE-LABlab(51.71, 52.56, -62.62)
CIE-LCHlch(51.71, 81.76, 310.01°)
OKLaboklab(60.63% 0.1022 -0.1778)
OKLCHoklch(60.63% 0.205 299.9)
XYZxyz(31.0655, 19.8874, 78.5303)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE8 #ACE85B
analogous
#5B65E8 #975BE8 #DD5BE8
triadic
#975BE8 #E8975B #5BE897
tetradic
#975BE8 #E85B65 #ACE85B #5BE8DD
square
#975BE8 #E85B65 #ACE85B #5BE8DD
split-complementary
#975BE8 #E8DD5B #65E85B
monochromatic
#5919B0 #7525E0 #975BE8 #B991F0 #DBC6F7

Accessibility & contrast

On white

4.22
#975BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#975BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE8#FFFFFF#000000##000000
##975BE81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#857999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975be8;
/* rgb */ color: rgb(151, 91, 232);
/* oklch */ color: oklch(60.6% 0.205 299.9);
Tailwind
colors: {
  custom: {
    50: '#ba8cf0',
    500: '#975be8',
    950: '#000000',
  },
}
SCSS
$custom: #975be8;
$custom-light: #ba8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#975be8",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 265.532,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.20512,
    "h": 299.9
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#975BE8
secondary
#D3E9B6
accent
#D80E82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975BE8

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

Preview Lab → · Contrast checker → · Palette generator →

#975BE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva