#975DF4#975DF4

#975DF4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.216 H 297.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#975DF4
RGBrgb(151, 93, 244)
HSLhsl(263, 87%, 66%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(38.1%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.88, 54.52, -67.44)
CIE-LCHlch(52.88, 86.72, 308.95°)
OKLaboklab(61.73% 0.0993 -0.192)
OKLCHoklch(61.73% 0.216 297.3)
XYZxyz(33.0018, 20.9391, 87.8733)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DF4 #BAF45D
analogous
#5D6EF4 #975DF4 #E25DF4
triadic
#975DF4 #F4975D #5DF497
tetradic
#975DF4 #F45D6E #BAF45D #5DF4E2
square
#975DF4 #F45D6E #BAF45D #5DF4E2
split-complementary
#975DF4 #F4E25D #6EF45D
monochromatic
#560EC9 #7224F0 #975DF4 #BC96F8 #E1D0FC

Accessibility & contrast

On white

4.05
#975DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#975DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DF4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DF4#FFFFFF#000000##000000
##975DF41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#057CF1
Tritanopia (blue-blind)
#817FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #975df4;
/* rgb */ color: rgb(151, 93, 244);
/* oklch */ color: oklch(61.7% 0.216 297.3);
Tailwind
colors: {
  custom: {
    50: '#bb8ef9',
    500: '#975df4',
    950: '#000000',
  },
}
SCSS
$custom: #975df4;
$custom-light: #bb8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#975df4",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 263.046,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.21617,
    "h": 297.3
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#975DF4
secondary
#DCEFBE
accent
#E4028D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #975DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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