#975FEA#975FEA

#975FEA is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.202 H 298.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#975FEA
RGBrgb(151, 95, 234)
HSLhsl(264, 77%, 65%)
HSVhsv(264, 59%, 92%)
CMYKcmyk(35.5%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.62, 50.96, -62.27)
CIE-LCHlch(52.62, 80.46, 309.30°)
OKLaboklab(61.33% 0.0975 -0.1768)
OKLCHoklch(61.33% 0.202 298.9)
XYZxyz(31.7023, 20.7039, 80.1520)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FEA #B2EA5F
analogous
#5F6CEA #975FEA #DD5FEA
triadic
#975FEA #EA975F #5FEA97
tetradic
#975FEA #EA5F6C #B2EA5F #5FEADD
square
#975FEA #EA5F6C #B2EA5F #5FEADD
split-complementary
#975FEA #EADD5F #6CEA5F
monochromatic
#5818B7 #7429E3 #975FEA #BA95F1 #DDCBF8

Accessibility & contrast

On white

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

On black

5.14
#975FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FEA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FEA#FFFFFF#000000##000000
##975FEA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#2B7CE7
Tritanopia (blue-blind)
#857D9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #975fea;
/* rgb */ color: rgb(151, 95, 234);
/* oklch */ color: oklch(61.3% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#ba8ff1',
    500: '#975fea',
    950: '#000000',
  },
}
SCSS
$custom: #975fea;
$custom-light: #ba8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#975fea",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 264.173,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.20193,
    "h": 298.9
  },
  "luminance": 0.20704
}

Semantic roles & 50–950 ramp

primary
#975FEA
secondary
#D7EABA
accent
#D90C87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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