#975FE4#975FE4

#975FE4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.195 H 300.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#975FE4
RGBrgb(151, 95, 228)
HSLhsl(265, 71%, 63%)
HSVhsv(265, 58%, 89%)
CMYKcmyk(33.8%, 58.3%, 0%, 10.6%)
CIE-LABlab(52.25, 49.47, -59.50)
CIE-LCHlch(52.25, 77.38, 309.74°)
OKLaboklab(60.94% 0.0977 -0.1687)
OKLCHoklch(60.94% 0.195 300.1)
XYZxyz(30.8549, 20.3649, 75.6890)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE4 #ACE45F
analogous
#5F69E4 #975FE4 #D95FE4
triadic
#975FE4 #E4975F #5FE497
tetradic
#975FE4 #E45F69 #ACE45F #5FE4D9
square
#975FE4 #E45F69 #ACE45F #5FE4D9
split-complementary
#975FE4 #E4D95F #69E45F
monochromatic
#591DAC #752BDB #975FE4 #B993ED #DBC8F6

Accessibility & contrast

On white

4.14
#975FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#975FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE4#FFFFFF#000000##000000
##975FE41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#177CE8
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#877B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975fe4;
/* rgb */ color: rgb(151, 95, 228);
/* oklch */ color: oklch(60.9% 0.195 300.1);
Tailwind
colors: {
  custom: {
    50: '#ba8fed',
    500: '#975fe4',
    950: '#000000',
  },
}
SCSS
$custom: #975fe4;
$custom-light: #ba8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe4",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 265.263,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.19491,
    "h": 300.1
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#975FE4
secondary
#D3E7B8
accent
#D31282
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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