#937DFB#937DFB

#937DFB is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.8% C 0.181 H 288.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#937DFB
RGBrgb(147, 125, 251)
HSLhsl(250, 94%, 74%)
HSVhsv(250, 50%, 98%)
CMYKcmyk(41.4%, 50.2%, 0%, 1.6%)
CIE-LABlab(59.74, 37.88, -60.31)
CIE-LCHlch(59.74, 71.22, 302.13°)
OKLaboklab(66.83% 0.0575 -0.1712)
OKLCHoklch(66.83% 0.181 288.6)
XYZxyz(36.7740, 27.8340, 94.6830)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937DFB #E5FB7D
analogous
#7DA6FB #937DFB #D27DFB
triadic
#937DFB #FB937D #7DFB93
tetradic
#937DFB #FB7DA6 #E5FB7D #7DFBD2
square
#937DFB #FB7DA6 #E5FB7D #7DFBD2
split-complementary
#937DFB #FBD27D #A6FB7D
monochromatic
#3108F6 #6242F9 #937DFB #C4B8FD #E6E1FE

Accessibility & contrast

On white

3.20
#937DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#937DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937DFB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937DFB#FFFFFF#000000##000000
##937DFB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#478DF8
Tritanopia (blue-blind)
#7597B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #937dfb;
/* rgb */ color: rgb(147, 125, 251);
/* oklch */ color: oklch(66.8% 0.181 288.6);
Tailwind
colors: {
  custom: {
    50: '#b8a3fd',
    500: '#937dfb',
    950: '#000000',
  },
}
SCSS
$custom: #937dfb;
$custom-light: #b8a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#937dfb",
  "rgb": {
    "r": 147,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 250.476,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.18055,
    "h": 288.6
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#937DFB
secondary
#F0F6D5
accent
#E600BD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #937DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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