#975FDC#975FDC

#975FDC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.186 H 301.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#975FDC
RGBrgb(151, 95, 220)
HSLhsl(267, 64%, 62%)
HSVhsv(267, 57%, 86%)
CMYKcmyk(31.4%, 56.8%, 0%, 13.7%)
CIE-LABlab(51.76, 47.50, -55.77)
CIE-LCHlch(51.76, 73.25, 310.42°)
OKLaboklab(60.42% 0.0977 -0.1577)
OKLCHoklch(60.42% 0.186 301.8)
XYZxyz(29.7700, 19.9310, 69.9749)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FDC #A4DC5F
analogous
#5F66DC #975FDC #D65FDC
triadic
#975FDC #DC975F #5FDC97
tetradic
#975FDC #DC5F66 #A4DC5F #5FDCD6
square
#975FDC #DC5F66 #A4DC5F #5FDCD6
split-complementary
#975FDC #DCD65F #66DC5F
monochromatic
#5A239E #762ED0 #975FDC #B891E7 #D8C3F2

Accessibility & contrast

On white

4.21
#975FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#975FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FDC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FDC#FFFFFF#000000##000000
##975FDC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#897894
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fdc;
/* rgb */ color: rgb(151, 95, 220);
/* oklch */ color: oklch(60.4% 0.186 301.8);
Tailwind
colors: {
  custom: {
    50: '#b98ee7',
    500: '#975fdc',
    950: '#000000',
  },
}
SCSS
$custom: #975fdc;
$custom-light: #b98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#975fdc",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 266.88,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.18552,
    "h": 301.8
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#975FDC
secondary
#CEE3B4
accent
#CC1A7C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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