#957DEC#957DEC

#957DEC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.1% C 0.161 H 291.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#957DEC
RGBrgb(149, 125, 236)
HSLhsl(253, 74%, 71%)
HSVhsv(253, 47%, 93%)
CMYKcmyk(36.9%, 47%, 0%, 7.5%)
CIE-LABlab(59.08, 34.31, -53.06)
CIE-LCHlch(59.08, 63.19, 302.88°)
OKLaboklab(66.11% 0.0585 -0.1498)
OKLCHoklch(66.11% 0.161 291.3)
XYZxyz(34.8643, 27.1120, 82.7369)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957DEC #D4EC7D
analogous
#7D9CEC #957DEC #CC7DEC
triadic
#957DEC #EC957D #7DEC95
tetradic
#957DEC #EC7D9C #D4EC7D #7DECCC
square
#957DEC #EC7D9C #D4EC7D #7DECCC
split-complementary
#957DEC #ECCC7D #9CEC7D
monochromatic
#451ED0 #6948E4 #957DEC #C1B2F4 #E9E4FB

Accessibility & contrast

On white

3.27
#957DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#957DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957DEC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957DEC#FFFFFF#000000##000000
##957DEC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#7F93A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #957dec;
/* rgb */ color: rgb(149, 125, 236);
/* oklch */ color: oklch(66.1% 0.161 291.3);
Tailwind
colors: {
  custom: {
    50: '#b8a3f3',
    500: '#957dec',
    950: '#000000',
  },
}
SCSS
$custom: #957dec;
$custom-light: #b8a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#957dec",
  "rgb": {
    "r": 149,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 252.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.16085,
    "h": 291.3
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#957DEC
secondary
#EBF1D3
accent
#D70FAB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #957DEC

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

Preview Lab → · Contrast checker → · Palette generator →

#957DEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva