#A27FBB#A27FBB

#A27FBB is a light, moderate violet. Relative luminance 0.264; OKLCH L 65.2% C 0.095 H 310.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A27FBB
RGBrgb(162, 127, 187)
HSLhsl(275, 31%, 62%)
HSVhsv(275, 32%, 73%)
CMYKcmyk(13.4%, 32.1%, 0%, 26.7%)
CIE-LABlab(58.46, 24.91, -26.38)
CIE-LCHlch(58.46, 36.29, 313.35°)
OKLaboklab(65.17% 0.0619 -0.0724)
OKLCHoklch(65.17% 0.095 310.5)
XYZxyz(31.4577, 26.4484, 50.4519)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27FBB #98BB7F
analogous
#847FBB #A27FBB #BB7FB6
triadic
#A27FBB #BBA27F #7FBBA2
tetradic
#A27FBB #BB847F #98BB7F #7FB6BB
square
#A27FBB #BB847F #98BB7F #7FB6BB
split-complementary
#A27FBB #B6BB7F #7FBB84
monochromatic
#65427D #8558A5 #A27FBB #BFA7D0 #DCCFE5

Accessibility & contrast

On white

3.34
#A27FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A27FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27FBB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27FBB#FFFFFF#000000##000000
##A27FBB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBD
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#9F8795
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a27fbb;
/* rgb */ color: rgb(162, 127, 187);
/* oklch */ color: oklch(65.2% 0.095 310.5);
Tailwind
colors: {
  custom: {
    50: '#bea4cf',
    500: '#a27fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a27fbb;
$custom-light: #bea4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a27fbb",
  "rgb": {
    "r": 162,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 275,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.09526,
    "h": 310.5
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#A27FBB
secondary
#C9D6C0
accent
#A93C6A
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A27FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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