#975FF2#975FF2

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

Color values

HEX#975FF2
RGBrgb(151, 95, 242)
HSLhsl(263, 85%, 66%)
HSVhsv(263, 61%, 95%)
CMYKcmyk(37.6%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.14, 52.97, -65.91)
CIE-LCHlch(53.14, 84.56, 308.79°)
OKLaboklab(61.87% 0.0972 -0.1875)
OKLCHoklch(61.87% 0.211 297.4)
XYZxyz(32.8776, 21.1740, 86.3420)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FF2 #BAF25F
analogous
#5F70F2 #975FF2 #E05FF2
triadic
#975FF2 #F2975F #5FF297
tetradic
#975FF2 #F25F70 #BAF25F #5FF2E0
square
#975FF2 #F25F70 #BAF25F #5FF2E0
split-complementary
#975FF2 #F2E05F #70F25F
monochromatic
#5610C6 #7226ED #975FF2 #BC98F7 #E1D0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975FF2#FFFFFF#000000##000000
##975FF21.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)
#007FF7
Deuteranopia (green-blind)
#197DEF
Tritanopia (blue-blind)
#817FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #975ff2;
/* rgb */ color: rgb(151, 95, 242);
/* oklch */ color: oklch(61.9% 0.211 297.4);
Tailwind
colors: {
  custom: {
    50: '#bb8ff7',
    500: '#975ff2',
    950: '#000000',
  },
}
SCSS
$custom: #975ff2;
$custom-light: #bb8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#975ff2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 262.857,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.21122,
    "h": 297.4
  },
  "luminance": 0.21175
}

Semantic roles & 50–950 ramp

primary
#975FF2
secondary
#DCEFBE
accent
#E1048D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #975FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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