#975FD8#975FD8

#975FD8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.181 H 302.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#975FD8
RGBrgb(151, 95, 216)
HSLhsl(268, 61%, 61%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(30.1%, 56%, 0%, 15.3%)
CIE-LABlab(51.52, 46.52, -53.88)
CIE-LCHlch(51.52, 71.18, 310.81°)
OKLaboklab(60.17% 0.0976 -0.1522)
OKLCHoklch(60.17% 0.181 302.7)
XYZxyz(29.2466, 19.7216, 67.2183)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD8 #A0D85F
analogous
#5F63D8 #975FD8 #D45FD8
triadic
#975FD8 #D8975F #5FD897
tetradic
#975FD8 #D85F63 #A0D85F #5FD8D4
square
#975FD8 #D85F63 #A0D85F #5FD8D4
split-complementary
#975FD8 #D8D45F #63D85F
monochromatic
#5A2598 #7731C9 #975FD8 #B790E4 #D7C1F0

Accessibility & contrast

On white

4.25
#975FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#975FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD8#FFFFFF#000000##000000
##975FD81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADC
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#8B7792
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fd8;
/* rgb */ color: rgb(151, 95, 216);
/* oklch */ color: oklch(60.2% 0.181 302.7);
Tailwind
colors: {
  custom: {
    50: '#b98ee5',
    500: '#975fd8',
    950: '#000000',
  },
}
SCSS
$custom: #975fd8;
$custom-light: #b98ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd8",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 267.769,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.18081,
    "h": 302.7
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#975FD8
secondary
#CBE0B3
accent
#C81D79
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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