#A27FF7#A27FF7

#A27FF7 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.173 H 294.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A27FF7
RGBrgb(162, 127, 247)
HSLhsl(258, 88%, 73%)
HSVhsv(258, 49%, 97%)
CMYKcmyk(34.4%, 48.6%, 0%, 3.1%)
CIE-LABlab(61.29, 39.29, -55.56)
CIE-LCHlch(61.29, 68.05, 305.26°)
OKLaboklab(68.23% 0.0726 -0.1568)
OKLCHoklch(68.23% 0.173 294.8)
XYZxyz(39.2739, 29.5748, 91.6170)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27FF7 #D4F77F
analogous
#7F98F7 #A27FF7 #DE7FF7
triadic
#A27FF7 #F7A27F #7FF7A2
tetradic
#A27FF7 #F77F98 #D4F77F #7FF7DE
square
#A27FF7 #F77F98 #D4F77F #7FF7DE
split-complementary
#A27FF7 #F7DE7F #98F77F
monochromatic
#500FED #7845F3 #A27FF7 #CCB9FB #EAE2FD

Accessibility & contrast

On white

3.04
#A27FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A27FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27FF7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27FF7#FFFFFF#000000##000000
##A27FF71.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#8E96AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a27ff7;
/* rgb */ color: rgb(162, 127, 247);
/* oklch */ color: oklch(68.2% 0.173 294.8);
Tailwind
colors: {
  custom: {
    50: '#c1a5fa',
    500: '#a27ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a27ff7;
$custom-light: #c1a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ff7",
  "rgb": {
    "r": 162,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 257.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6823,
    "c": 0.17284,
    "h": 294.8
  },
  "luminance": 0.29576
}

Semantic roles & 50–950 ramp

primary
#A27FF7
secondary
#ECF5D6
accent
#E501A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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