#A37FF2#A37FF2

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

Color values

HEX#A37FF2
RGBrgb(163, 127, 242)
HSLhsl(259, 82%, 72%)
HSVhsv(259, 48%, 95%)
CMYKcmyk(32.6%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.11, 38.27, -53.07)
CIE-LCHlch(61.11, 65.43, 305.79°)
OKLaboklab(68.04% 0.0733 -0.1495)
OKLCHoklch(68.04% 0.167 296.1)
XYZxyz(38.7167, 29.3755, 87.6174)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37FF2 #CEF27F
analogous
#7F94F2 #A37FF2 #DD7FF2
triadic
#A37FF2 #F2A37F #7FF2A3
tetradic
#A37FF2 #F27F94 #CEF27F #7FF2DD
square
#A37FF2 #F27F94 #CEF27F #7FF2DD
split-complementary
#A37FF2 #F2DD7F #94F27F
monochromatic
#5617E0 #7B47EC #A37FF2 #CBB7F8 #EBE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A37FF2#FFFFFF#000000##000000
##A37FF21.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)
#5894F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#9195AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a37ff2;
/* rgb */ color: rgb(163, 127, 242);
/* oklch */ color: oklch(68.0% 0.167 296.1);
Tailwind
colors: {
  custom: {
    50: '#c1a5f7',
    500: '#a37ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a37ff2;
$custom-light: #c1a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a37ff2",
  "rgb": {
    "r": 163,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 258.783,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68035,
    "c": 0.16654,
    "h": 296.1
  },
  "luminance": 0.29376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A37FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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