#975FEC#975FEC

#975FEC is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.204 H 298.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#975FEC
RGBrgb(151, 95, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 60%, 93%)
CMYKcmyk(36%, 59.7%, 0%, 7.5%)
CIE-LABlab(52.75, 51.46, -63.18)
CIE-LCHlch(52.75, 81.49, 309.16°)
OKLaboklab(61.47% 0.0975 -0.1795)
OKLCHoklch(61.47% 0.204 298.5)
XYZxyz(31.9913, 20.8195, 81.6737)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FEC #B4EC5F
analogous
#5F6DEC #975FEC #DE5FEC
triadic
#975FEC #EC975F #5FEC97
tetradic
#975FEC #EC5F6D #B4EC5F #5FECDE
square
#975FEC #EC5F6D #B4EC5F #5FECDE
split-complementary
#975FEC #ECDE5F #6DEC5F
monochromatic
#5716BA #7328E6 #975FEC #BB96F2 #DECCF9

Accessibility & contrast

On white

4.07
#975FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#975FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FEC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FEC#FFFFFF#000000##000000
##975FEC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#847D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #975fec;
/* rgb */ color: rgb(151, 95, 236);
/* oklch */ color: oklch(61.5% 0.204 298.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ff3',
    500: '#975fec',
    950: '#000000',
  },
}
SCSS
$custom: #975fec;
$custom-light: #bb8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#975fec",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 263.83,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.20425,
    "h": 298.5
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#975FEC
secondary
#D8EBBB
accent
#DB0A88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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