#A27BBD#A27BBD

#A27BBD is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.5% C 0.105 H 310.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A27BBD
RGBrgb(162, 123, 189)
HSLhsl(275, 33%, 61%)
HSVhsv(275, 35%, 74%)
CMYKcmyk(14.3%, 34.9%, 0%, 25.9%)
CIE-LABlab(57.58, 27.63, -28.88)
CIE-LCHlch(57.58, 39.97, 313.73°)
OKLaboklab(64.53% 0.0684 -0.0795)
OKLCHoklch(64.53% 0.105 310.7)
XYZxyz(31.1669, 25.5218, 51.4186)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BBD #96BD7B
analogous
#817BBD #A27BBD #BD7BB7
triadic
#A27BBD #BDA27B #7BBDA2
tetradic
#A27BBD #BD817B #96BD7B #7BB7BD
square
#A27BBD #BD817B #96BD7B #7BB7BD
split-complementary
#A27BBD #B7BD7B #7BBD81
monochromatic
#653F7E #8554A7 #A27BBD #BFA4D1 #DBCDE6

Accessibility & contrast

On white

3.44
#A27BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A27BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BBD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BBD#FFFFFF#000000##000000
##A27BBD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#9F8493
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a27bbd;
/* rgb */ color: rgb(162, 123, 189);
/* oklch */ color: oklch(64.5% 0.105 310.7);
Tailwind
colors: {
  custom: {
    50: '#bea1d1',
    500: '#a27bbd',
    950: '#000000',
  },
}
SCSS
$custom: #a27bbd;
$custom-light: #bea1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a27bbd",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 275.455,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.1049,
    "h": 310.7
  },
  "luminance": 0.25521
}

Semantic roles & 50–950 ramp

primary
#A27BBD
secondary
#C8D6BE
accent
#AC3968
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120F14
muted
#817E82

Preview Lab

Preview with #A27BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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