#975FD6#975FD6

#975FD6 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.178 H 303.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#975FD6
RGBrgb(151, 95, 214)
HSLhsl(268, 59%, 61%)
HSVhsv(268, 56%, 84%)
CMYKcmyk(29.4%, 55.6%, 0%, 16.1%)
CIE-LABlab(51.40, 46.03, -52.93)
CIE-LCHlch(51.40, 70.15, 311.01°)
OKLaboklab(60.05% 0.0976 -0.1494)
OKLCHoklch(60.05% 0.178 303.1)
XYZxyz(28.9896, 19.6188, 65.8649)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD6 #9ED65F
analogous
#5F62D6 #975FD6 #D25FD6
triadic
#975FD6 #D6975F #5FD697
tetradic
#975FD6 #D65F62 #9ED65F #5FD6D2
square
#975FD6 #D65F62 #9ED65F #5FD6D2
split-complementary
#975FD6 #D6D25F #62D65F
monochromatic
#5A2695 #7833C5 #975FD6 #B790E2 #D6C0EF

Accessibility & contrast

On white

4.26
#975FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#975FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD6#FFFFFF#000000##000000
##975FD61.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#8B7691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd6;
/* rgb */ color: rgb(151, 95, 214);
/* oklch */ color: oklch(60.0% 0.178 303.1);
Tailwind
colors: {
  custom: {
    50: '#b98ee3',
    500: '#975fd6',
    950: '#000000',
  },
}
SCSS
$custom: #975fd6;
$custom-light: #b98ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd6",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 268.235,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.17845,
    "h": 303.1
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#975FD6
secondary
#CADFB2
accent
#C71F78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #975FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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