#975FD2#975FD2

#975FD2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.174 H 304.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#975FD2
RGBrgb(151, 95, 210)
HSLhsl(269, 56%, 60%)
HSVhsv(269, 55%, 82%)
CMYKcmyk(28.1%, 54.8%, 0%, 17.6%)
CIE-LABlab(51.17, 45.07, -51.03)
CIE-LCHlch(51.17, 68.08, 311.45°)
OKLaboklab(59.8% 0.0974 -0.1438)
OKLCHoklch(59.8% 0.174 304.1)
XYZxyz(28.4850, 19.4170, 63.2075)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD2 #9AD25F
analogous
#5F61D2 #975FD2 #D05FD2
triadic
#975FD2 #D2975F #5FD297
tetradic
#975FD2 #D25F61 #9AD25F #5FD2D0
square
#975FD2 #D25F61 #9AD25F #5FD2D0
split-complementary
#975FD2 #D2D05F #61D25F
monochromatic
#5A288F #7836BE #975FD2 #B68FDF #D5BFED

Accessibility & contrast

On white

4.30
#975FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#975FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD2#FFFFFF#000000##000000
##975FD21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#8D758F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd2;
/* rgb */ color: rgb(151, 95, 210);
/* oklch */ color: oklch(59.8% 0.174 304.1);
Tailwind
colors: {
  custom: {
    50: '#b98ee0',
    500: '#975fd2',
    950: '#000000',
  },
}
SCSS
$custom: #975fd2;
$custom-light: #b98ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 269.217,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.17372,
    "h": 304.1
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#975FD2
secondary
#C7DDB0
accent
#DF4896
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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