#975CE2#975CE2

#975CE2 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.4% C 0.197 H 301.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#975CE2
RGBrgb(151, 92, 226)
HSLhsl(266, 70%, 62%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.2%, 59.3%, 0%, 11.4%)
CIE-LABlab(51.52, 50.56, -59.54)
CIE-LCHlch(51.52, 78.11, 310.34°)
OKLaboklab(60.37% 0.1013 -0.1688)
OKLCHoklch(60.37% 0.197 301)
XYZxyz(30.3138, 19.7244, 74.1469)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE2 #A7E25C
analogous
#5C64E2 #975CE2 #DA5CE2
triadic
#975CE2 #E2975C #5CE297
tetradic
#975CE2 #E25C64 #A7E25C #5CE2DA
square
#975CE2 #E25C64 #A7E25C #5CE2DA
split-complementary
#975CE2 #E2DA5C #64E25C
monochromatic
#5A1EA6 #7628D9 #975CE2 #B890EB #D9C4F4

Accessibility & contrast

On white

4.25
#975CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#975CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CE2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CE2#FFFFFF#000000##000000
##975CE21.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7AE6
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#887896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ce2;
/* rgb */ color: rgb(151, 92, 226);
/* oklch */ color: oklch(60.4% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#ba8dec',
    500: '#975ce2',
    950: '#000000',
  },
}
SCSS
$custom: #975ce2;
$custom-light: #ba8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce2",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 266.418,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.19683,
    "h": 301
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#975CE2
secondary
#D0E5B4
accent
#D2147E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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