#A37FEF#A37FEF

#A37FEF is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.163 H 296.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A37FEF
RGBrgb(163, 127, 239)
HSLhsl(259, 78%, 72%)
HSVhsv(259, 47%, 94%)
CMYKcmyk(31.8%, 46.9%, 0%, 6.3%)
CIE-LABlab(60.95, 37.51, -51.66)
CIE-LCHlch(60.95, 63.84, 305.98°)
OKLaboklab(67.87% 0.073 -0.1454)
OKLCHoklch(67.87% 0.163 296.7)
XYZxyz(38.2698, 29.1968, 85.2639)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37FEF #CBEF7F
analogous
#7F93EF #A37FEF #DB7FEF
triadic
#A37FEF #EFA37F #7FEFA3
tetradic
#A37FEF #EF7F93 #CBEF7F #7FEFDB
square
#A37FEF #EF7F93 #CBEF7F #7FEFDB
split-complementary
#A37FEF #EFDB7F #93EF7F
monochromatic
#581BD9 #7C49E8 #A37FEF #CAB5F6 #EBE4FC

Accessibility & contrast

On white

3.07
#A37FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A37FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37FEF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37FEF#FFFFFF#000000##000000
##A37FEF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#9294AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a37fef;
/* rgb */ color: rgb(163, 127, 239);
/* oklch */ color: oklch(67.9% 0.163 296.7);
Tailwind
colors: {
  custom: {
    50: '#c1a5f5',
    500: '#a37fef',
    950: '#000000',
  },
}
SCSS
$custom: #a37fef;
$custom-light: #c1a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a37fef",
  "rgb": {
    "r": 163,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 259.286,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.1627,
    "h": 296.7
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#A37FEF
secondary
#EAF3D7
accent
#DA0B98
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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