#A37DFB#A37DFB

#A37DFB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.181 H 295.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A37DFB
RGBrgb(163, 125, 251)
HSLhsl(258, 94%, 74%)
HSVhsv(258, 50%, 98%)
CMYKcmyk(35.1%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.15, 41.67, -57.98)
CIE-LCHlch(61.15, 71.40, 305.71°)
OKLaboklab(68.22% 0.0767 -0.1639)
OKLCHoklch(68.22% 0.181 295.1)
XYZxyz(39.8460, 29.4181, 94.8270)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37DFB #D5FB7D
analogous
#7D96FB #A37DFB #E27DFB
triadic
#A37DFB #FBA37D #7DFBA3
tetradic
#A37DFB #FB7D96 #D5FB7D #7DFBE2
square
#A37DFB #FB7D96 #D5FB7D #7DFBE2
split-complementary
#A37DFB #FBE27D #96FB7D
monochromatic
#4F08F6 #7942F9 #A37DFB #CDB8FD #EAE1FE

Accessibility & contrast

On white

3.05
#A37DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A37DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37DFB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37DFB#FFFFFF#000000##000000
##A37DFB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#8E96B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a37dfb;
/* rgb */ color: rgb(163, 125, 251);
/* oklch */ color: oklch(68.2% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#c2a3fd',
    500: '#a37dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a37dfb;
$custom-light: #c2a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a37dfb",
  "rgb": {
    "r": 163,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 258.095,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.18094,
    "h": 295.1
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#A37DFB
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A37DFB

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

Preview Lab → · Contrast checker → · Palette generator →

#A37DFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva