#975CEC#975CEC

#975CEC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.208 H 299.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#975CEC
RGBrgb(151, 92, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(36%, 61%, 0%, 7.5%)
CIE-LABlab(52.16, 53.04, -64.13)
CIE-LCHlch(52.16, 83.22, 309.59°)
OKLaboklab(61.04% 0.1009 -0.1823)
OKLCHoklch(61.04% 0.208 299)
XYZxyz(31.7262, 20.2894, 81.5854)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CEC #B1EC5C
analogous
#5C69EC #975CEC #DF5CEC
triadic
#975CEC #EC975C #5CEC97
tetradic
#975CEC #EC5C69 #B1EC5C #5CECDF
square
#975CEC #EC5C69 #B1EC5C #5CECDF
split-complementary
#975CEC #ECDF5C #69EC5C
monochromatic
#5815B8 #7425E6 #975CEC #BA93F2 #DDCAF9

Accessibility & contrast

On white

4.15
#975CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#975CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CEC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CEC#FFFFFF#000000##000000
##975CEC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#847B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975cec;
/* rgb */ color: rgb(151, 92, 236);
/* oklch */ color: oklch(61.0% 0.208 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb8df3',
    500: '#975cec',
    950: '#000000',
  },
}
SCSS
$custom: #975cec;
$custom-light: #bb8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#975cec",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 264.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.20834,
    "h": 299
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#975CEC
secondary
#D6EBB9
accent
#DB0A86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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