#975BD7#975BD7

#975BD7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.186 H 303.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#975BD7
RGBrgb(151, 91, 215)
HSLhsl(269, 61%, 60%)
HSVhsv(269, 58%, 84%)
CMYKcmyk(29.8%, 57.7%, 0%, 15.7%)
CIE-LABlab(50.65, 48.42, -54.71)
CIE-LCHlch(50.65, 73.06, 311.51°)
OKLaboklab(59.51% 0.1026 -0.1546)
OKLCHoklch(59.51% 0.186 303.6)
XYZxyz(28.7666, 18.9678, 66.4225)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD7 #9BD75B
analogous
#5B5DD7 #975BD7 #D55BD7
triadic
#975BD7 #D7975B #5BD797
tetradic
#975BD7 #D75B5D #9BD75B #5BD7D5
square
#975BD7 #D75B5D #9BD75B #5BD7D5
split-complementary
#975BD7 #D7D55B #5DD75B
monochromatic
#5A2494 #7830C5 #975BD7 #B68CE3 #D5BDEF

Accessibility & contrast

On white

4.38
#975BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#975BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD7#FFFFFF#000000##000000
##975BD71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#8B7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975bd7;
/* rgb */ color: rgb(151, 91, 215);
/* oklch */ color: oklch(59.5% 0.186 303.6);
Tailwind
colors: {
  custom: {
    50: '#b98ce4',
    500: '#975bd7',
    950: '#000000',
  },
}
SCSS
$custom: #975bd7;
$custom-light: #b98ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd7",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 269.032,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.18556,
    "h": 303.6
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#975BD7
secondary
#C8DFAF
accent
#E44496
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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