#975DEC#975DEC

#975DEC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.207 H 298.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#975DEC
RGBrgb(151, 93, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36%, 60.6%, 0%, 7.5%)
CIE-LABlab(52.36, 52.51, -63.82)
CIE-LCHlch(52.36, 82.65, 309.45°)
OKLaboklab(61.18% 0.0997 -0.1814)
OKLCHoklch(61.18% 0.207 298.8)
XYZxyz(31.8134, 20.4638, 81.6144)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DEC #B2EC5D
analogous
#5D6AEC #975DEC #DF5DEC
triadic
#975DEC #EC975D #5DEC97
tetradic
#975DEC #EC5D6A #B2EC5D #5DECDF
square
#975DEC #EC5D6A #B2EC5D #5DECDF
split-complementary
#975DEC #ECDF5D #6AEC5D
monochromatic
#5816B9 #7426E6 #975DEC #BA94F2 #DDCBF9

Accessibility & contrast

On white

4.12
#975DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#975DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DEC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DEC#FFFFFF#000000##000000
##975DEC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#847C9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975dec;
/* rgb */ color: rgb(151, 93, 236);
/* oklch */ color: oklch(61.2% 0.207 298.8);
Tailwind
colors: {
  custom: {
    50: '#bb8df3',
    500: '#975dec',
    950: '#000000',
  },
}
SCSS
$custom: #975dec;
$custom-light: #bb8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#975dec",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 264.336,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.20699,
    "h": 298.8
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#975DEC
secondary
#D7EBBA
accent
#DB0A86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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