#975FDF#975FDF

#975FDF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.189 H 301.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#975FDF
RGBrgb(151, 95, 223)
HSLhsl(266, 67%, 62%)
HSVhsv(266, 57%, 87%)
CMYKcmyk(32.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(51.94, 48.23, -57.17)
CIE-LCHlch(51.94, 74.80, 310.15°)
OKLaboklab(60.61% 0.0977 -0.1618)
OKLCHoklch(60.61% 0.189 301.1)
XYZxyz(30.1709, 20.0913, 72.0862)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FDF #A7DF5F
analogous
#5F67DF #975FDF #D75FDF
triadic
#975FDF #DF975F #5FDF97
tetradic
#975FDF #DF5F67 #A7DF5F #5FDFD7
square
#975FDF #DF5F67 #A7DF5F #5FDFD7
split-complementary
#975FDF #DFD75F #67DF5F
monochromatic
#5A21A3 #762CD5 #975FDF #B892E9 #D9C5F3

Accessibility & contrast

On white

4.18
#975FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#975FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FDF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FDF#FFFFFF#000000##000000
##975FDF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237BE3
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#887996
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975fdf;
/* rgb */ color: rgb(151, 95, 223);
/* oklch */ color: oklch(60.6% 0.189 301.1);
Tailwind
colors: {
  custom: {
    50: '#ba8eea',
    500: '#975fdf',
    950: '#000000',
  },
}
SCSS
$custom: #975fdf;
$custom-light: #ba8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#975fdf",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 266.25,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.18905,
    "h": 301.1
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#975FDF
secondary
#D0E4B6
accent
#CF177E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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