#937AFA#937AFA

#937AFA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.183 H 289.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#937AFA
RGBrgb(147, 122, 250)
HSLhsl(252, 93%, 73%)
HSVhsv(252, 51%, 98%)
CMYKcmyk(41.2%, 51.2%, 0%, 2%)
CIE-LABlab(59.00, 39.32, -60.95)
CIE-LCHlch(59.00, 72.53, 302.82°)
OKLaboklab(66.26% 0.061 -0.173)
OKLCHoklch(66.26% 0.183 289.4)
XYZxyz(36.2427, 27.0230, 93.7303)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937AFA #E1FA7A
analogous
#7AA1FA #937AFA #D37AFA
triadic
#937AFA #FA937A #7AFA93
tetradic
#937AFA #FA7AA1 #E1FA7A #7AFAD3
square
#937AFA #FA7AA1 #E1FA7A #7AFAD3
split-complementary
#937AFA #FAD37A #A1FA7A
monochromatic
#3609F1 #633FF8 #937AFA #C3B5FC #E7E2FE

Accessibility & contrast

On white

3.28
#937AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#937AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937AFA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937AFA#FFFFFF#000000##000000
##937AFA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FE
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#7695AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #937afa;
/* rgb */ color: rgb(147, 122, 250);
/* oklch */ color: oklch(66.3% 0.183 289.4);
Tailwind
colors: {
  custom: {
    50: '#b8a1fd',
    500: '#937afa',
    950: '#000000',
  },
}
SCSS
$custom: #937afa;
$custom-light: #b8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#937afa",
  "rgb": {
    "r": 147,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 251.719,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.18346,
    "h": 289.4
  },
  "luminance": 0.27024
}

Semantic roles & 50–950 ramp

primary
#937AFA
secondary
#F0F6D5
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #937AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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