#975CE3#975CE3

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

Color values

HEX#975CE3
RGBrgb(151, 92, 227)
HSLhsl(266, 71%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.5%, 59.5%, 0%, 11%)
CIE-LABlab(51.59, 50.81, -60.00)
CIE-LCHlch(51.59, 78.62, 310.26°)
OKLaboklab(60.44% 0.1012 -0.1701)
OKLCHoklch(60.44% 0.198 300.8)
XYZxyz(30.4515, 19.7795, 74.8717)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CE3 #A8E35C
analogous
#5C65E3 #975CE3 #DA5CE3
triadic
#975CE3 #E3975C #5CE397
tetradic
#975CE3 #E35C65 #A8E35C #5CE3DA
square
#975CE3 #E35C65 #A8E35C #5CE3DA
split-complementary
#975CE3 #E3DA5C #65E35C
monochromatic
#5A1DA8 #7628DA #975CE3 #B890EC #DAC4F5

Accessibility & contrast

On white

4.24
#975CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#975CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CE3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CE3#FFFFFF#000000##000000
##975CE31.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#087AE7
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#877897
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ce3;
/* rgb */ color: rgb(151, 92, 227);
/* oklch */ color: oklch(60.4% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#ba8dec',
    500: '#975ce3',
    950: '#000000',
  },
}
SCSS
$custom: #975ce3;
$custom-light: #ba8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#975ce3",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 266.222,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.19798,
    "h": 300.8
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#975CE3
secondary
#D0E6B5
accent
#D3137F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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