#975EF4#975EF4

#975EF4 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.215 H 297.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#975EF4
RGBrgb(151, 94, 244)
HSLhsl(263, 87%, 66%)
HSVhsv(263, 61%, 96%)
CMYKcmyk(38.1%, 61.5%, 0%, 4.3%)
CIE-LABlab(53.08, 54.00, -67.13)
CIE-LCHlch(53.08, 86.15, 308.81°)
OKLaboklab(61.87% 0.0982 -0.1911)
OKLCHoklch(61.87% 0.215 297.2)
XYZxyz(33.0902, 21.1158, 87.9028)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EF4 #BBF45E
analogous
#5E70F4 #975EF4 #E25EF4
triadic
#975EF4 #F4975E #5EF497
tetradic
#975EF4 #F45E70 #BBF45E #5EF4E2
square
#975EF4 #F45E70 #BBF45E #5EF4E2
split-complementary
#975EF4 #F4E25E #70F45E
monochromatic
#550ECA #7225F0 #975EF4 #BC97F8 #E1D1FC

Accessibility & contrast

On white

4.02
#975EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#975EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EF4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EF4#FFFFFF#000000##000000
##975EF41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0C7DF1
Tritanopia (blue-blind)
#817FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #975ef4;
/* rgb */ color: rgb(151, 94, 244);
/* oklch */ color: oklch(61.9% 0.215 297.2);
Tailwind
colors: {
  custom: {
    50: '#bb8ef9',
    500: '#975ef4',
    950: '#000000',
  },
}
SCSS
$custom: #975ef4;
$custom-light: #bb8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#975ef4",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 262.8,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.21485,
    "h": 297.2
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#975EF4
secondary
#DDEFBE
accent
#E4028E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #975EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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