#975FD7#975FD7

#975FD7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.180 H 302.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#975FD7
RGBrgb(151, 95, 215)
HSLhsl(268, 60%, 61%)
HSVhsv(268, 56%, 84%)
CMYKcmyk(29.8%, 55.8%, 0%, 15.7%)
CIE-LABlab(51.46, 46.28, -53.41)
CIE-LCHlch(51.46, 70.67, 310.91°)
OKLaboklab(60.11% 0.0976 -0.1508)
OKLCHoklch(60.11% 0.18 302.9)
XYZxyz(29.1177, 19.6700, 66.5395)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD7 #9FD75F
analogous
#5F63D7 #975FD7 #D35FD7
triadic
#975FD7 #D7975F #5FD797
tetradic
#975FD7 #D75F63 #9FD75F #5FD7D3
square
#975FD7 #D75F63 #9FD75F #5FD7D3
split-complementary
#975FD7 #D7D35F #63D75F
monochromatic
#5A2696 #7732C7 #975FD7 #B790E3 #D7C1EF

Accessibility & contrast

On white

4.26
#975FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD7#FFFFFF#000000##000000
##975FD71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#8B7692
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fd7;
/* rgb */ color: rgb(151, 95, 215);
/* oklch */ color: oklch(60.1% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#b98ee4',
    500: '#975fd7',
    950: '#000000',
  },
}
SCSS
$custom: #975fd7;
$custom-light: #b98ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd7",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 268,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.17963,
    "h": 302.9
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#975FD7
secondary
#CAE0B2
accent
#C81E78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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