#975FE0#975FE0

#975FE0 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.190 H 300.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#975FE0
RGBrgb(151, 95, 224)
HSLhsl(266, 68%, 63%)
HSVhsv(266, 58%, 88%)
CMYKcmyk(32.6%, 57.6%, 0%, 12.2%)
CIE-LABlab(52.00, 48.48, -57.64)
CIE-LCHlch(52.00, 75.32, 310.06°)
OKLaboklab(60.68% 0.0977 -0.1632)
OKLCHoklch(60.68% 0.19 300.9)
XYZxyz(30.3061, 20.1454, 72.7984)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FE0 #A8E05F
analogous
#5F67E0 #975FE0 #D85FE0
triadic
#975FE0 #E0975F #5FE097
tetradic
#975FE0 #E05F67 #A8E05F #5FE0D8
square
#975FE0 #E05F67 #A8E05F #5FE0D8
split-complementary
#975FE0 #E0D85F #67E05F
monochromatic
#5A20A5 #762CD6 #975FE0 #B892EA #DAC6F4

Accessibility & contrast

On white

4.18
#975FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#975FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FE0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FE0#FFFFFF#000000##000000
##975FE01.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE4
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#887996
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975fe0;
/* rgb */ color: rgb(151, 95, 224);
/* oklch */ color: oklch(60.7% 0.190 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba8eea',
    500: '#975fe0',
    950: '#000000',
  },
}
SCSS
$custom: #975fe0;
$custom-light: #ba8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#975fe0",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 266.047,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.19023,
    "h": 300.9
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#975FE0
secondary
#D0E5B6
accent
#CF167F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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