#937BEF#937BEF

#937BEF is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.8% C 0.168 H 290.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#937BEF
RGBrgb(147, 123, 239)
HSLhsl(252, 78%, 71%)
HSVhsv(252, 49%, 94%)
CMYKcmyk(38.5%, 48.5%, 0%, 6.3%)
CIE-LABlab(58.60, 35.76, -55.49)
CIE-LCHlch(58.60, 66.02, 302.80°)
OKLaboklab(65.76% 0.0589 -0.157)
OKLCHoklch(65.76% 0.168 290.6)
XYZxyz(34.6913, 26.6000, 84.9511)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937BEF #D7EF7B
analogous
#7B9DEF #937BEF #CD7BEF
triadic
#937BEF #EF937B #7BEF93
tetradic
#937BEF #EF7B9D #D7EF7B #7BEFCD
square
#937BEF #EF7B9D #D7EF7B #7BEFCD
split-complementary
#937BEF #EFCD7B #9DEF7B
monochromatic
#411AD6 #6644E8 #937BEF #C0B2F6 #E9E4FC

Accessibility & contrast

On white

3.32
#937BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#937BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937BEF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937BEF#FFFFFF#000000##000000
##937BEF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#7B92AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #937bef;
/* rgb */ color: rgb(147, 123, 239);
/* oklch */ color: oklch(65.8% 0.168 290.6);
Tailwind
colors: {
  custom: {
    50: '#b7a1f5',
    500: '#937bef',
    950: '#000000',
  },
}
SCSS
$custom: #937bef;
$custom-light: #b7a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#937bef",
  "rgb": {
    "r": 147,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 252.414,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65761,
    "c": 0.16771,
    "h": 290.6
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#937BEF
secondary
#ECF2D3
accent
#DB0BB0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120F17
muted
#817E85

Preview Lab

Preview with #937BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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