#936AFE#936AFE

#936AFE is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.9% C 0.210 H 292.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#936AFE
RGBrgb(147, 106, 254)
HSLhsl(257, 99%, 71%)
HSVhsv(257, 58%, 100%)
CMYKcmyk(42.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(55.75, 49.35, -68.38)
CIE-LCHlch(55.75, 84.33, 305.82°)
OKLaboklab(63.94% 0.0794 -0.1949)
OKLCHoklch(63.94% 0.21 292.2)
XYZxyz(35.0712, 23.6658, 96.4668)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#936AFE #D5FE6A
analogous
#6A8BFE #936AFE #DD6AFE
triadic
#936AFE #FE936A #6AFE93
tetradic
#936AFE #FE6A8B #D5FE6A #6AFEDD
square
#936AFE #FE6A8B #D5FE6A #6AFEDD
split-complementary
#936AFE #FEDD6A #8BFE6A
monochromatic
#4302EC #672DFE #936AFE #BFA7FE #E9E1FF

Accessibility & contrast

On white

3.66
#936AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#936AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #936AFE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##936AFE#FFFFFF#000000##000000
##936AFE1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1083FB
Tritanopia (blue-blind)
#758BAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #936afe;
/* rgb */ color: rgb(147, 106, 254);
/* oklch */ color: oklch(63.9% 0.210 292.2);
Tailwind
colors: {
  custom: {
    50: '#b996ff',
    500: '#936afe',
    950: '#000000',
  },
}
SCSS
$custom: #936afe;
$custom-light: #b996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#936afe",
  "rgb": {
    "r": 147,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 256.622,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63936,
    "c": 0.21044,
    "h": 292.2
  },
  "luminance": 0.23667
}

Semantic roles & 50–950 ramp

primary
#936AFE
secondary
#EBF6CE
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #936AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#936AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva