#937DEC#937DEC

#937DEC is a light, vivid violet. Relative luminance 0.269; OKLCH L 65.9% C 0.161 H 290.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#937DEC
RGBrgb(147, 125, 236)
HSLhsl(252, 74%, 71%)
HSVhsv(252, 47%, 93%)
CMYKcmyk(37.7%, 47%, 0%, 7.5%)
CIE-LABlab(58.91, 33.81, -53.35)
CIE-LCHlch(58.91, 63.16, 302.36°)
OKLaboklab(65.94% 0.0561 -0.1507)
OKLCHoklch(65.94% 0.161 290.4)
XYZxyz(34.5025, 26.9255, 82.7199)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937DEC #D6EC7D
analogous
#7D9EEC #937DEC #CA7DEC
triadic
#937DEC #EC937D #7DEC93
tetradic
#937DEC #EC7D9E #D6EC7D #7DECCA
square
#937DEC #EC7D9E #D6EC7D #7DECCA
split-complementary
#937DEC #ECCA7D #9EEC7D
monochromatic
#421ED0 #6748E4 #937DEC #BFB2F4 #E9E4FB

Accessibility & contrast

On white

3.29
#937DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#937DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937DEC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937DEC#FFFFFF#000000##000000
##937DEC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#7C93A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #937dec;
/* rgb */ color: rgb(147, 125, 236);
/* oklch */ color: oklch(65.9% 0.161 290.4);
Tailwind
colors: {
  custom: {
    50: '#b6a3f3',
    500: '#937dec',
    950: '#000000',
  },
}
SCSS
$custom: #937dec;
$custom-light: #b6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#937dec",
  "rgb": {
    "r": 147,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 251.892,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.16082,
    "h": 290.4
  },
  "luminance": 0.26926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #937DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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