#975FE2#975FE2

#975FE2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.193 H 300.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#975FE2
RGBrgb(151, 95, 226)
HSLhsl(266, 69%, 63%)
HSVhsv(266, 58%, 89%)
CMYKcmyk(33.2%, 58%, 0%, 11.4%)
CIE-LABlab(52.12, 48.97, -58.57)
CIE-LCHlch(52.12, 76.35, 309.90°)
OKLaboklab(60.81% 0.0977 -0.166)
OKLCHoklch(60.81% 0.193 300.5)
XYZxyz(30.5789, 20.2545, 74.2353)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE2 #AAE25F
analogous
#5F68E2 #975FE2 #D85FE2
triadic
#975FE2 #E2975F #5FE297
tetradic
#975FE2 #E25F68 #AAE25F #5FE2D8
square
#975FE2 #E25F68 #AAE25F #5FE2D8
split-complementary
#975FE2 #E2D85F #68E25F
monochromatic
#591EA8 #752BD9 #975FE2 #B993EB #DAC7F5

Accessibility & contrast

On white

4.16
#975FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#975FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE2#FFFFFF#000000##000000
##975FE21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7CE6
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#877A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975fe2;
/* rgb */ color: rgb(151, 95, 226);
/* oklch */ color: oklch(60.8% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba8fec',
    500: '#975fe2',
    950: '#000000',
  },
}
SCSS
$custom: #975fe2;
$custom-light: #ba8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 265.649,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.19258,
    "h": 300.5
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#975FE2
secondary
#D2E6B7
accent
#D11480
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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