#975CD4#975CD4

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

Color values

HEX#975CD4
RGBrgb(151, 92, 212)
HSLhsl(270, 58%, 60%)
HSVhsv(270, 57%, 83%)
CMYKcmyk(28.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(50.67, 47.17, -52.96)
CIE-LCHlch(50.67, 70.92, 311.69°)
OKLaboklab(59.47% 0.1013 -0.1495)
OKLCHoklch(59.47% 0.181 304.1)
XYZxyz(28.4707, 18.9872, 64.4396)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD4 #99D45C
analogous
#5C5DD4 #975CD4 #D35CD4
triadic
#975CD4 #D4975C #5CD497
tetradic
#975CD4 #D45C5D #99D45C #5CD4D3
square
#975CD4 #D45C5D #99D45C #5CD4D3
split-complementary
#975CD4 #D4D35C #5DD45C
monochromatic
#5A2690 #7833C0 #975CD4 #B68CE1 #D5BDEE

Accessibility & contrast

On white

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

On black

4.80
#975CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD4#FFFFFF#000000##000000
##975CD41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D8
Deuteranopia (green-blind)
#4379D1
Tritanopia (blue-blind)
#8C738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd4;
/* rgb */ color: rgb(151, 92, 212);
/* oklch */ color: oklch(59.5% 0.181 304.1);
Tailwind
colors: {
  custom: {
    50: '#b98ce2',
    500: '#975cd4',
    950: '#000000',
  },
}
SCSS
$custom: #975cd4;
$custom-light: #b98ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd4",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 269.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.1806,
    "h": 304.1
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#975CD4
secondary
#C6DDAF
accent
#E14695
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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