#975FDA#975FDA

#975FDA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.183 H 302.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#975FDA
RGBrgb(151, 95, 218)
HSLhsl(267, 62%, 61%)
HSVhsv(267, 56%, 85%)
CMYKcmyk(30.7%, 56.4%, 0%, 14.5%)
CIE-LABlab(51.64, 47.01, -54.83)
CIE-LCHlch(51.64, 72.22, 310.61°)
OKLaboklab(60.3% 0.0977 -0.155)
OKLCHoklch(60.3% 0.183 302.2)
XYZxyz(29.5067, 19.8256, 68.5883)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FDA #A2DA5F
analogous
#5F65DA #975FDA #D55FDA
triadic
#975FDA #DA975F #5FDA97
tetradic
#975FDA #DA5F65 #A2DA5F #5FDAD5
square
#975FDA #DA5F65 #A2DA5F #5FDAD5
split-complementary
#975FDA #DAD55F #65DA5F
monochromatic
#5A249B #772FCD #975FDA #B791E5 #D8C2F1

Accessibility & contrast

On white

4.23
#975FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#975FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FDA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FDA#FFFFFF#000000##000000
##975FDA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#8A7793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fda;
/* rgb */ color: rgb(151, 95, 218);
/* oklch */ color: oklch(60.3% 0.183 302.2);
Tailwind
colors: {
  custom: {
    50: '#b98ee6',
    500: '#975fda',
    950: '#000000',
  },
}
SCSS
$custom: #975fda;
$custom-light: #b98ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#975fda",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 267.317,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.18317,
    "h": 302.2
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#975FDA
secondary
#CCE1B3
accent
#CA1B7B
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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