#937AEE#937AEE

#937AEE is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.168 H 291.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#937AEE
RGBrgb(147, 122, 238)
HSLhsl(253, 77%, 71%)
HSVhsv(253, 49%, 93%)
CMYKcmyk(38.2%, 48.7%, 0%, 6.7%)
CIE-LABlab(58.32, 36.07, -55.40)
CIE-LCHlch(58.32, 66.11, 303.07°)
OKLaboklab(65.53% 0.06 -0.1567)
OKLCHoklch(65.53% 0.168 291)
XYZxyz(34.4206, 26.2942, 84.1341)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937AEE #D5EE7A
analogous
#7A9BEE #937AEE #CD7AEE
triadic
#937AEE #EE937A #7AEE93
tetradic
#937AEE #EE7A9B #D5EE7A #7AEECD
square
#937AEE #EE7A9B #D5EE7A #7AEECD
split-complementary
#937AEE #EECD7A #9BEE7A
monochromatic
#431BD3 #6744E7 #937AEE #BFB0F5 #E9E4FC

Accessibility & contrast

On white

3.36
#937AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#937AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937AEE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937AEE#FFFFFF#000000##000000
##937AEE1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#7B91A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #937aee;
/* rgb */ color: rgb(147, 122, 238);
/* oklch */ color: oklch(65.5% 0.168 291.0);
Tailwind
colors: {
  custom: {
    50: '#b7a1f4',
    500: '#937aee',
    950: '#000000',
  },
}
SCSS
$custom: #937aee;
$custom-light: #b7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#937aee",
  "rgb": {
    "r": 147,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 252.931,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.16785,
    "h": 291
  },
  "luminance": 0.26295
}

Semantic roles & 50–950 ramp

primary
#937AEE
secondary
#EBF2D2
accent
#DA0CAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #937AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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