#975FE7#975FE7

#975FE7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.1% C 0.198 H 299.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#975FE7
RGBrgb(151, 95, 231)
HSLhsl(265, 74%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.6%, 58.9%, 0%, 9.4%)
CIE-LABlab(52.43, 50.21, -60.89)
CIE-LCHlch(52.43, 78.92, 309.51°)
OKLaboklab(61.13% 0.0976 -0.1728)
OKLCHoklch(61.13% 0.198 299.5)
XYZxyz(31.2750, 20.5330, 77.9014)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE7 #AFE75F
analogous
#5F6BE7 #975FE7 #DB5FE7
triadic
#975FE7 #E7975F #5FE797
tetradic
#975FE7 #E75F6B #AFE75F #5FE7DB
square
#975FE7 #E75F6B #AFE75F #5FE7DB
split-complementary
#975FE7 #E7DB5F #6BE75F
monochromatic
#591BB1 #742ADF #975FE7 #BA94EF #DCC9F7

Accessibility & contrast

On white

4.11
#975FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#975FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE7#FFFFFF#000000##000000
##975FE71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEB
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#867C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975fe7;
/* rgb */ color: rgb(151, 95, 231);
/* oklch */ color: oklch(61.1% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#ba8fef',
    500: '#975fe7',
    950: '#000000',
  },
}
SCSS
$custom: #975fe7;
$custom-light: #ba8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe7",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 264.706,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.19843,
    "h": 299.5
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#975FE7
secondary
#D5E9B9
accent
#D60F84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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