#975FEF#975FEF

#975FEF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.208 H 297.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#975FEF
RGBrgb(151, 95, 239)
HSLhsl(263, 82%, 65%)
HSVhsv(263, 60%, 94%)
CMYKcmyk(36.8%, 60.3%, 0%, 6.3%)
CIE-LABlab(52.94, 52.22, -64.55)
CIE-LCHlch(52.94, 83.03, 308.97°)
OKLaboklab(61.67% 0.0973 -0.1835)
OKLCHoklch(61.67% 0.208 297.9)
XYZxyz(32.4308, 20.9953, 83.9885)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FEF #B7EF5F
analogous
#5F6FEF #975FEF #DF5FEF
triadic
#975FEF #EF975F #5FEF97
tetradic
#975FEF #EF5F6F #B7EF5F #5FEFDF
square
#975FEF #EF5F6F #B7EF5F #5FEFDF
split-complementary
#975FEF #EFDF5F #6FEF5F
monochromatic
#5713C0 #7327E9 #975FEF #BB97F5 #DFCEFA

Accessibility & contrast

On white

4.04
#975FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#975FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FEF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FEF#FFFFFF#000000##000000
##975FEF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#837E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #975fef;
/* rgb */ color: rgb(151, 95, 239);
/* oklch */ color: oklch(61.7% 0.208 297.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ff5',
    500: '#975fef',
    950: '#000000',
  },
}
SCSS
$custom: #975fef;
$custom-light: #bb8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#975fef",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 263.333,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.20774,
    "h": 297.9
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#975FEF
secondary
#DAEDBD
accent
#DE078B
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #975FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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