#975CE7#975CE7

#975CE7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.203 H 299.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#975CE7
RGBrgb(151, 92, 231)
HSLhsl(265, 74%, 63%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.6%, 60.2%, 0%, 9.4%)
CIE-LABlab(51.84, 51.79, -61.84)
CIE-LCHlch(51.84, 80.67, 309.95°)
OKLaboklab(60.7% 0.1011 -0.1756)
OKLCHoklch(60.7% 0.203 299.9)
XYZxyz(31.0099, 20.0029, 77.8130)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE7 #ACE75C
analogous
#5C66E7 #975CE7 #DD5CE7
triadic
#975CE7 #E7975C #5CE797
tetradic
#975CE7 #E75C66 #ACE75C #5CE7DD
square
#975CE7 #E75C66 #ACE75C #5CE7DD
split-complementary
#975CE7 #E7DD5C #66E75C
monochromatic
#591AAF #7527DF #975CE7 #B991EF #DBC7F7

Accessibility & contrast

On white

4.20
#975CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#975CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CE7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CE7#FFFFFF#000000##000000
##975CE71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2A7BE4
Tritanopia (blue-blind)
#867A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ce7;
/* rgb */ color: rgb(151, 92, 231);
/* oklch */ color: oklch(60.7% 0.203 299.9);
Tailwind
colors: {
  custom: {
    50: '#ba8def',
    500: '#975ce7',
    950: '#000000',
  },
}
SCSS
$custom: #975ce7;
$custom-light: #ba8def;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce7",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 265.468,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.20259,
    "h": 299.9
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#975CE7
secondary
#D3E8B7
accent
#D60F82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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