#A27DF3#A27DF3

#A27DF3 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.171 H 296.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A27DF3
RGBrgb(162, 125, 243)
HSLhsl(259, 83%, 72%)
HSVhsv(259, 49%, 95%)
CMYKcmyk(33.3%, 48.6%, 0%, 4.7%)
CIE-LABlab(60.62, 39.39, -54.41)
CIE-LCHlch(60.62, 67.17, 305.90°)
OKLaboklab(67.66% 0.0748 -0.1535)
OKLCHoklch(67.66% 0.171 296)
XYZxyz(38.4075, 28.8191, 88.3158)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DF3 #CEF37D
analogous
#7D93F3 #A27DF3 #DD7DF3
triadic
#A27DF3 #F3A27D #7DF3A2
tetradic
#A27DF3 #F37D93 #CEF37D #7DF3DD
square
#A27DF3 #F37D93 #CEF37D #7DF3DD
split-complementary
#A27DF3 #F3DD7D #93F37D
monochromatic
#5515E1 #7A45EE #A27DF3 #CAB5F8 #EBE3FC

Accessibility & contrast

On white

3.10
#A27DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A27DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27DF3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27DF3#FFFFFF#000000##000000
##A27DF31.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#9094AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a27df3;
/* rgb */ color: rgb(162, 125, 243);
/* oklch */ color: oklch(67.7% 0.171 296.0);
Tailwind
colors: {
  custom: {
    50: '#c1a3f7',
    500: '#a27df3',
    950: '#000000',
  },
}
SCSS
$custom: #a27df3;
$custom-light: #c1a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a27df3",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 258.814,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67664,
    "c": 0.17072,
    "h": 296
  },
  "luminance": 0.2882
}

Semantic roles & 50–950 ramp

primary
#A27DF3
secondary
#EBF4D7
accent
#E0069B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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