#975EBA#975EBA

#975EBA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.147 H 311.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#975EBA
RGBrgb(151, 94, 186)
HSLhsl(277, 40%, 55%)
HSVhsv(277, 49%, 73%)
CMYKcmyk(18.8%, 49.5%, 0%, 27.1%)
CIE-LABlab(49.65, 40.02, -39.64)
CIE-LCHlch(49.65, 56.33, 315.27°)
OKLaboklab(58.26% 0.0969 -0.1106)
OKLCHoklch(58.26% 0.147 311.2)
XYZxyz(25.6265, 18.1304, 48.5944)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EBA #81BA5E
analogous
#695EBA #975EBA #BA5EAF
triadic
#975EBA #BA975E #5EBA97
tetradic
#975EBA #BA695E #81BA5E #5EAFBA
square
#975EBA #BA695E #81BA5E #5EAFBA
split-complementary
#975EBA #AFBA5E #5EBA69
monochromatic
#562F6E #784299 #975EBA #B389CC #CEB4DF

Accessibility & contrast

On white

4.54
#975EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#975EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EBA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EBA#FFFFFF#000000##000000
##975EBA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#936D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975eba;
/* rgb */ color: rgb(151, 94, 186);
/* oklch */ color: oklch(58.3% 0.147 311.2);
Tailwind
colors: {
  custom: {
    50: '#b78dcf',
    500: '#975eba',
    950: '#000000',
  },
}
SCSS
$custom: #975eba;
$custom-light: #b78dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#975eba",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 277.174,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.14702,
    "h": 311.2
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#975EBA
secondary
#B5CDA7
accent
#D05886
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #975EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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