#975BEC#975BEC

#975BEC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.210 H 299.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#975BEC
RGBrgb(151, 91, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(36%, 61.4%, 0%, 7.5%)
CIE-LABlab(51.97, 53.55, -64.44)
CIE-LCHlch(51.97, 83.79, 309.73°)
OKLaboklab(60.9% 0.102 -0.1832)
OKLCHoklch(60.9% 0.21 299.1)
XYZxyz(31.6402, 20.1173, 81.5567)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BEC #B0EC5B
analogous
#5B68EC #975BEC #E05BEC
triadic
#975BEC #EC975B #5BEC97
tetradic
#975BEC #EC5B68 #B0EC5B #5BECE0
square
#975BEC #EC5B68 #B0EC5B #5BECE0
split-complementary
#975BEC #ECE05B #68EC5B
monochromatic
#5815B7 #7424E6 #975BEC #BA92F2 #DDC9F9

Accessibility & contrast

On white

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

On black

5.02
#975BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BEC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BEC#FFFFFF#000000##000000
##975BEC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#847B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975bec;
/* rgb */ color: rgb(151, 91, 236);
/* oklch */ color: oklch(60.9% 0.210 299.1);
Tailwind
colors: {
  custom: {
    50: '#bb8cf3',
    500: '#975bec',
    950: '#000000',
  },
}
SCSS
$custom: #975bec;
$custom-light: #bb8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#975bec",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 264.828,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.20969,
    "h": 299.1
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#975BEC
secondary
#D6EBB8
accent
#DC0A85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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