#A37FFB#A37FFB

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

Color values

HEX#A37FFB
RGBrgb(163, 127, 251)
HSLhsl(257, 94%, 74%)
HSVhsv(257, 49%, 98%)
CMYKcmyk(35.1%, 49.4%, 0%, 1.6%)
CIE-LABlab(61.59, 40.56, -57.27)
CIE-LCHlch(61.59, 70.18, 305.31°)
OKLaboklab(68.55% 0.0742 -0.1618)
OKLCHoklch(68.55% 0.178 294.6)
XYZxyz(40.1017, 29.9296, 94.9123)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37FFB #D7FB7F
analogous
#7F99FB #A37FFB #E17FFB
triadic
#A37FFB #FBA37F #7FFBA3
tetradic
#A37FFB #FB7F99 #D7FB7F #7FFBE1
square
#A37FFB #FB7F99 #D7FB7F #7FFBE1
split-complementary
#A37FFB #FBE17F #99FB7F
monochromatic
#4E08F7 #7844F9 #A37FFB #CEBAFD #EAE1FE

Accessibility & contrast

On white

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

On black

6.99
#A37FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37FFB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37FFB#FFFFFF#000000##000000
##A37FFB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#8E97B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a37ffb;
/* rgb */ color: rgb(163, 127, 251);
/* oklch */ color: oklch(68.6% 0.178 294.6);
Tailwind
colors: {
  custom: {
    50: '#c2a5fd',
    500: '#a37ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a37ffb;
$custom-light: #c2a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a37ffb",
  "rgb": {
    "r": 163,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 257.419,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68551,
    "c": 0.17801,
    "h": 294.6
  },
  "luminance": 0.2993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A37FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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