#975CD7#975CD7

#975CD7 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.184 H 303.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#975CD7
RGBrgb(151, 92, 215)
HSLhsl(269, 61%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29.8%, 57.2%, 0%, 15.7%)
CIE-LABlab(50.85, 47.89, -54.39)
CIE-LCHlch(50.85, 72.46, 311.36°)
OKLaboklab(59.66% 0.1014 -0.1537)
OKLCHoklch(59.66% 0.184 303.4)
XYZxyz(28.8526, 19.1399, 66.4512)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD7 #9CD75C
analogous
#5C5FD7 #975CD7 #D45CD7
triadic
#975CD7 #D7975C #5CD797
tetradic
#975CD7 #D75C5F #9CD75C #5CD7D4
square
#975CD7 #D75C5F #9CD75C #5CD7D4
split-complementary
#975CD7 #D7D45C #5FD75C
monochromatic
#5A2494 #7830C5 #975CD7 #B68DE3 #D6BEEF

Accessibility & contrast

On white

4.35
#975CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#975CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD7#FFFFFF#000000##000000
##975CD71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DB
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#8B7491
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd7;
/* rgb */ color: rgb(151, 92, 215);
/* oklch */ color: oklch(59.7% 0.184 303.4);
Tailwind
colors: {
  custom: {
    50: '#b98ce4',
    500: '#975cd7',
    950: '#000000',
  },
}
SCSS
$custom: #975cd7;
$custom-light: #b98ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd7",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 268.78,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.18409,
    "h": 303.4
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#975CD7
secondary
#C8DFB0
accent
#C81D76
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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