#A27DFB#A27DFB

#A27DFB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.181 H 294.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A27DFB
RGBrgb(162, 125, 251)
HSLhsl(258, 94%, 74%)
HSVhsv(258, 50%, 98%)
CMYKcmyk(35.5%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.06, 41.43, -58.13)
CIE-LCHlch(61.06, 71.39, 305.48°)
OKLaboklab(68.13% 0.0755 -0.1644)
OKLCHoklch(68.13% 0.181 294.7)
XYZxyz(39.6420, 29.3129, 94.8175)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DFB #D6FB7D
analogous
#7D97FB #A27DFB #E17DFB
triadic
#A27DFB #FBA27D #7DFBA2
tetradic
#A27DFB #FB7D97 #D6FB7D #7DFBE1
square
#A27DFB #FB7D97 #D6FB7D #7DFBE1
split-complementary
#A27DFB #FBE17D #97FB7D
monochromatic
#4E08F6 #7842F9 #A27DFB #CCB8FD #EAE1FE

Accessibility & contrast

On white

3.06
#A27DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A27DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27DFB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27DFB#FFFFFF#000000##000000
##A27DFB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#8D96B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a27dfb;
/* rgb */ color: rgb(162, 125, 251);
/* oklch */ color: oklch(68.1% 0.181 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a3fd',
    500: '#a27dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a27dfb;
$custom-light: #c1a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a27dfb",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 257.619,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.18086,
    "h": 294.7
  },
  "luminance": 0.29314
}

Semantic roles & 50–950 ramp

primary
#A27DFB
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A27DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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