#975FEB#975FEB

#975FEB is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.203 H 298.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#975FEB
RGBrgb(151, 95, 235)
HSLhsl(264, 78%, 65%)
HSVhsv(264, 60%, 92%)
CMYKcmyk(35.7%, 59.6%, 0%, 7.8%)
CIE-LABlab(52.69, 51.21, -62.73)
CIE-LCHlch(52.69, 80.98, 309.23°)
OKLaboklab(61.4% 0.0975 -0.1782)
OKLCHoklch(61.4% 0.203 298.7)
XYZxyz(31.8464, 20.7615, 80.9107)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FEB #B3EB5F
analogous
#5F6DEB #975FEB #DD5FEB
triadic
#975FEB #EB975F #5FEB97
tetradic
#975FEB #EB5F6D #B3EB5F #5FEBDD
square
#975FEB #EB5F6D #B3EB5F #5FEBDD
split-complementary
#975FEB #EBDD5F #6DEB5F
monochromatic
#5817B9 #7429E4 #975FEB #BA95F2 #DECCF9

Accessibility & contrast

On white

4.08
#975FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#975FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FEB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FEB#FFFFFF#000000##000000
##975FEB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#2A7CE8
Tritanopia (blue-blind)
#847D9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #975feb;
/* rgb */ color: rgb(151, 95, 235);
/* oklch */ color: oklch(61.4% 0.203 298.7);
Tailwind
colors: {
  custom: {
    50: '#ba8ff2',
    500: '#975feb',
    950: '#000000',
  },
}
SCSS
$custom: #975feb;
$custom-light: #ba8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#975feb",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 264,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.20309,
    "h": 298.7
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#975FEB
secondary
#D8EBBB
accent
#DA0B87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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