#A37EFE#A37EFE

#A37EFE is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.183 H 294.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A37EFE
RGBrgb(163, 126, 254)
HSLhsl(257, 98%, 75%)
HSVhsv(257, 50%, 100%)
CMYKcmyk(35.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.54, 41.89, -59.01)
CIE-LCHlch(61.54, 72.37, 305.37°)
OKLaboklab(68.56% 0.0757 -0.1669)
OKLCHoklch(68.56% 0.183 294.4)
XYZxyz(40.4499, 29.8632, 97.3797)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37EFE #D9FE7E
analogous
#7E99FE #A37EFE #E37EFE
triadic
#A37EFE #FEA37E #7EFEA3
tetradic
#A37EFE #FE7E99 #D9FE7E #7EFEE3
square
#A37EFE #FE7E99 #D9FE7E #7EFEE3
split-complementary
#A37EFE #FEE37E #99FE7E
monochromatic
#4C05FD #7841FE #A37EFE #CEBBFE #E9E1FF

Accessibility & contrast

On white

3.01
#A37EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A37EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37EFE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37EFE#FFFFFF#000000##000000
##A37EFE1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#8D98B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a37efe;
/* rgb */ color: rgb(163, 126, 254);
/* oklch */ color: oklch(68.6% 0.183 294.4);
Tailwind
colors: {
  custom: {
    50: '#c2a4ff',
    500: '#a37efe',
    950: '#000000',
  },
}
SCSS
$custom: #a37efe;
$custom-light: #c2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a37efe",
  "rgb": {
    "r": 163,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 257.344,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.18326,
    "h": 294.4
  },
  "luminance": 0.29864
}

Semantic roles & 50–950 ramp

primary
#A37EFE
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A37EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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