#975EF5#975EF5

#975EF5 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.216 H 297.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#975EF5
RGBrgb(151, 94, 245)
HSLhsl(263, 88%, 66%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(38.4%, 61.6%, 0%, 3.9%)
CIE-LABlab(53.14, 54.25, -67.58)
CIE-LCHlch(53.14, 86.66, 308.76°)
OKLaboklab(61.94% 0.0981 -0.1924)
OKLCHoklch(61.94% 0.216 297)
XYZxyz(33.2424, 21.1767, 88.7046)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EF5 #BCF55E
analogous
#5E71F5 #975EF5 #E35EF5
triadic
#975EF5 #F5975E #5EF597
tetradic
#975EF5 #F55E71 #BCF55E #5EF5E3
square
#975EF5 #F55E71 #BCF55E #5EF5E3
split-complementary
#975EF5 #F5E35E #71F55E
monochromatic
#550DCC #7224F1 #975EF5 #BC98F9 #E1D1FC

Accessibility & contrast

On white

4.01
#975EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#975EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EF5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EF5#FFFFFF#000000##000000
##975EF51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#067DF2
Tritanopia (blue-blind)
#8080A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #975ef5;
/* rgb */ color: rgb(151, 94, 245);
/* oklch */ color: oklch(61.9% 0.216 297.0);
Tailwind
colors: {
  custom: {
    50: '#bb8ef9',
    500: '#975ef5',
    950: '#000000',
  },
}
SCSS
$custom: #975ef5;
$custom-light: #bb8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#975ef5",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 262.649,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.216,
    "h": 297
  },
  "luminance": 0.21177
}

Semantic roles & 50–950 ramp

primary
#975EF5
secondary
#DDF0BF
accent
#E5018F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #975EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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