#975DEB#975DEB

#975DEB is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.206 H 299.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#975DEB
RGBrgb(151, 93, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 60%, 92%)
CMYKcmyk(35.7%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.29, 52.26, -63.36)
CIE-LCHlch(52.29, 82.14, 309.52°)
OKLaboklab(61.11% 0.0998 -0.18)
OKLCHoklch(61.11% 0.206 299)
XYZxyz(31.6685, 20.4058, 80.8514)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DEB #B1EB5D
analogous
#5D6AEB #975DEB #DE5DEB
triadic
#975DEB #EB975D #5DEB97
tetradic
#975DEB #EB5D6A #B1EB5D #5DEBDE
square
#975DEB #EB5D6A #B1EB5D #5DEBDE
split-complementary
#975DEB #EBDE5D #6AEB5D
monochromatic
#5817B7 #7427E4 #975DEB #BA93F2 #DDCAF8

Accessibility & contrast

On white

4.13
#975DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#975DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DEB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DEB#FFFFFF#000000##000000
##975DEB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#847C9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975deb;
/* rgb */ color: rgb(151, 93, 235);
/* oklch */ color: oklch(61.1% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb8df2',
    500: '#975deb',
    950: '#000000',
  },
}
SCSS
$custom: #975deb;
$custom-light: #bb8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#975deb",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 264.507,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.20584,
    "h": 299
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#975DEB
secondary
#D6EBB9
accent
#DA0B86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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