#975CE8#975CE8

#975CE8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.204 H 299.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#975CE8
RGBrgb(151, 92, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.9%, 60.3%, 0%, 9%)
CIE-LABlab(51.90, 52.04, -62.30)
CIE-LCHlch(51.90, 81.18, 309.87°)
OKLaboklab(60.77% 0.1011 -0.1769)
OKLCHoklch(60.77% 0.204 299.7)
XYZxyz(31.1516, 20.0595, 78.5590)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE8 #ADE85C
analogous
#5C67E8 #975CE8 #DD5CE8
triadic
#975CE8 #E8975C #5CE897
tetradic
#975CE8 #E85C67 #ADE85C #5CE8DD
square
#975CE8 #E85C67 #ADE85C #5CE8DD
split-complementary
#975CE8 #E8DD5C #67E85C
monochromatic
#5919B1 #7526E0 #975CE8 #B992F0 #DBC7F7

Accessibility & contrast

On white

4.19
#975CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#975CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CE8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CE8#FFFFFF#000000##000000
##975CE81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#857A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ce8;
/* rgb */ color: rgb(151, 92, 232);
/* oklch */ color: oklch(60.8% 0.204 299.7);
Tailwind
colors: {
  custom: {
    50: '#ba8df0',
    500: '#975ce8',
    950: '#000000',
  },
}
SCSS
$custom: #975ce8;
$custom-light: #ba8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce8",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 265.286,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.20375,
    "h": 299.7
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#975CE8
secondary
#D4E9B7
accent
#D70E83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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