#975FE1#975FE1

#975FE1 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.191 H 300.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#975FE1
RGBrgb(151, 95, 225)
HSLhsl(266, 68%, 63%)
HSVhsv(266, 58%, 88%)
CMYKcmyk(32.9%, 57.8%, 0%, 11.8%)
CIE-LABlab(52.06, 48.72, -58.11)
CIE-LCHlch(52.06, 75.83, 309.98°)
OKLaboklab(60.74% 0.0977 -0.1646)
OKLCHoklch(60.74% 0.191 300.7)
XYZxyz(30.4421, 20.1998, 73.5147)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE1 #A9E15F
analogous
#5F68E1 #975FE1 #D85FE1
triadic
#975FE1 #E1975F #5FE197
tetradic
#975FE1 #E15F68 #A9E15F #5FE1D8
square
#975FE1 #E15F68 #A9E15F #5FE1D8
split-complementary
#975FE1 #E1D85F #68E15F
monochromatic
#591FA6 #762BD7 #975FE1 #B893EB #DAC6F4

Accessibility & contrast

On white

4.17
#975FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#975FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE1#FFFFFF#000000##000000
##975FE11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE5
Deuteranopia (green-blind)
#397BDE
Tritanopia (blue-blind)
#887A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975fe1;
/* rgb */ color: rgb(151, 95, 225);
/* oklch */ color: oklch(60.7% 0.191 300.7);
Tailwind
colors: {
  custom: {
    50: '#ba8feb',
    500: '#975fe1',
    950: '#000000',
  },
}
SCSS
$custom: #975fe1;
$custom-light: #ba8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe1",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 265.846,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.1914,
    "h": 300.7
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#975FE1
secondary
#D1E5B6
accent
#D01580
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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