#975DFE#975DFE

#975DFE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.228 H 295.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#975DFE
RGBrgb(151, 93, 254)
HSLhsl(262, 99%, 68%)
HSVhsv(262, 63%, 100%)
CMYKcmyk(40.6%, 63.4%, 0%, 0.4%)
CIE-LABlab(53.56, 57.05, -71.91)
CIE-LCHlch(53.56, 91.79, 308.43°)
OKLaboklab(62.43% 0.0985 -0.2051)
OKLCHoklch(62.43% 0.228 295.6)
XYZxyz(34.5615, 21.5630, 96.0879)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DFE #C4FE5D
analogous
#5D73FE #975DFE #E85DFE
triadic
#975DFE #FE975D #5DFE97
tetradic
#975DFE #FE5D73 #C4FE5D #5DFEE8
square
#975DFE #FE5D73 #C4FE5D #5DFEE8
split-complementary
#975DFE #FEE85D #73FE5D
monochromatic
#5101DF #7020FE #975DFE #BE9AFE #E5D7FF

Accessibility & contrast

On white

3.95
#975DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#975DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DFE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DFE#FFFFFF#000000##000000
##975DFE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#7C82A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #975dfe;
/* rgb */ color: rgb(151, 93, 254);
/* oklch */ color: oklch(62.4% 0.228 295.6);
Tailwind
colors: {
  custom: {
    50: '#bc8eff',
    500: '#975dfe',
    950: '#000000',
  },
}
SCSS
$custom: #975dfe;
$custom-light: #bc8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#975dfe",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 261.615,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.22755,
    "h": 295.6
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#975DFE
secondary
#E2F4C3
accent
#E60093
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #975DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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