#975BFE#975BFE

#975BFE is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.230 H 295.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#975BFE
RGBrgb(151, 91, 254)
HSLhsl(262, 99%, 68%)
HSVhsv(262, 64%, 100%)
CMYKcmyk(40.6%, 64.2%, 0%, 0.4%)
CIE-LABlab(53.19, 58.07, -72.51)
CIE-LCHlch(53.19, 92.90, 308.69°)
OKLaboklab(62.16% 0.1005 -0.2069)
OKLCHoklch(62.16% 0.23 295.9)
XYZxyz(34.3883, 21.2165, 96.0301)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BFE #C2FE5B
analogous
#5B70FE #975BFE #E95BFE
triadic
#975BFE #FE975B #5BFE97
tetradic
#975BFE #FE5B70 #C2FE5B #5BFEE9
square
#975BFE #FE5B70 #C2FE5B #5BFEE9
split-complementary
#975BFE #FEE95B #70FE5B
monochromatic
#5201DD #701EFE #975BFE #BE98FE #E4D5FF

Accessibility & contrast

On white

4.01
#975BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#975BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BFE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BFE#FFFFFF#000000##000000
##975BFE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#7D81A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #975bfe;
/* rgb */ color: rgb(151, 91, 254);
/* oklch */ color: oklch(62.2% 0.230 295.9);
Tailwind
colors: {
  custom: {
    50: '#bc8dff',
    500: '#975bfe',
    950: '#000000',
  },
}
SCSS
$custom: #975bfe;
$custom-light: #bc8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#975bfe",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 262.086,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.23006,
    "h": 295.9
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#975BFE
secondary
#E1F4C1
accent
#E60091
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #975BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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