#975CEB#975CEB

#975CEB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.207 H 299.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#975CEB
RGBrgb(151, 92, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35.7%, 60.9%, 0%, 7.8%)
CIE-LABlab(52.10, 52.79, -63.68)
CIE-LCHlch(52.10, 82.71, 309.66°)
OKLaboklab(60.97% 0.1009 -0.1809)
OKLCHoklch(60.97% 0.207 299.2)
XYZxyz(31.5813, 20.2314, 80.8224)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CEB #B0EB5C
analogous
#5C69EB #975CEB #DE5CEB
triadic
#975CEB #EB975C #5CEB97
tetradic
#975CEB #EB5C69 #B0EB5C #5CEBDE
square
#975CEB #EB5C69 #B0EB5C #5CEBDE
split-complementary
#975CEB #EBDE5C #69EB5C
monochromatic
#5816B6 #7425E4 #975CEB #BA93F2 #DDC9F8

Accessibility & contrast

On white

4.16
#975CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#975CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CEB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CEB#FFFFFF#000000##000000
##975CEB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#847B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ceb;
/* rgb */ color: rgb(151, 92, 235);
/* oklch */ color: oklch(61.0% 0.207 299.2);
Tailwind
colors: {
  custom: {
    50: '#bb8df2',
    500: '#975ceb',
    950: '#000000',
  },
}
SCSS
$custom: #975ceb;
$custom-light: #bb8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#975ceb",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 264.755,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.20719,
    "h": 299.2
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#975CEB
secondary
#D6EAB8
accent
#DA0B85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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