#A37DF2#A37DF2

#A37DF2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.170 H 296.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A37DF2
RGBrgb(163, 125, 242)
HSLhsl(259, 82%, 72%)
HSVhsv(259, 48%, 95%)
CMYKcmyk(32.6%, 48.3%, 0%, 5.1%)
CIE-LABlab(60.66, 39.39, -53.79)
CIE-LCHlch(60.66, 66.67, 306.21°)
OKLaboklab(67.7% 0.0759 -0.1516)
OKLCHoklch(67.7% 0.17 296.6)
XYZxyz(38.4609, 28.8640, 87.5322)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37DF2 #CCF27D
analogous
#7D92F2 #A37DF2 #DD7DF2
triadic
#A37DF2 #F2A37D #7DF2A3
tetradic
#A37DF2 #F27D92 #CCF27D #7DF2DD
square
#A37DF2 #F27D92 #CCF27D #7DF2DD
split-complementary
#A37DF2 #F2DD7D #92F27D
monochromatic
#5716DE #7C45EC #A37DF2 #CAB5F8 #EBE3FC

Accessibility & contrast

On white

3.10
#A37DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A37DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37DF2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37DF2#FFFFFF#000000##000000
##A37DF21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#9293AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37df2;
/* rgb */ color: rgb(163, 125, 242);
/* oklch */ color: oklch(67.7% 0.170 296.6);
Tailwind
colors: {
  custom: {
    50: '#c1a3f7',
    500: '#a37df2',
    950: '#000000',
  },
}
SCSS
$custom: #a37df2;
$custom-light: #c1a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a37df2",
  "rgb": {
    "r": 163,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 259.487,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67698,
    "c": 0.16955,
    "h": 296.6
  },
  "luminance": 0.28865
}

Semantic roles & 50–950 ramp

primary
#A37DF2
secondary
#EBF4D7
accent
#DE0798
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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