#A37FE7#A37FE7

#A37FE7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.152 H 298.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A37FE7
RGBrgb(163, 127, 231)
HSLhsl(261, 68%, 70%)
HSVhsv(261, 45%, 91%)
CMYKcmyk(29.4%, 45%, 0%, 9.4%)
CIE-LABlab(60.55, 35.51, -47.87)
CIE-LCHlch(60.55, 59.61, 306.57°)
OKLaboklab(67.43% 0.072 -0.1343)
OKLCHoklch(67.43% 0.152 298.2)
XYZxyz(37.1140, 28.7345, 79.1768)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37FE7 #C3E77F
analogous
#7F8FE7 #A37FE7 #D77FE7
triadic
#A37FE7 #E7A37F #7FE7A3
tetradic
#A37FE7 #E77F8F #C3E77F #7FE7D7
square
#A37FE7 #E77F8F #C3E77F #7FE7D7
split-complementary
#A37FE7 #E7D77F #8FE77F
monochromatic
#5D25C6 #7E4BDD #A37FE7 #C8B3F1 #ECE5FA

Accessibility & contrast

On white

3.11
#A37FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A37FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37FE7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37FE7#FFFFFF#000000##000000
##A37FE71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#9592A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37fe7;
/* rgb */ color: rgb(163, 127, 231);
/* oklch */ color: oklch(67.4% 0.152 298.2);
Tailwind
colors: {
  custom: {
    50: '#c1a4ef',
    500: '#a37fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a37fe7;
$custom-light: #c1a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a37fe7",
  "rgb": {
    "r": 163,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 260.769,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.15241,
    "h": 298.2
  },
  "luminance": 0.28735
}

Semantic roles & 50–950 ramp

primary
#A37FE7
secondary
#E5EFD2
accent
#D01590
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A37FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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