#A276CB#A276CB

#A276CB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.131 H 306.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A276CB
RGBrgb(162, 118, 203)
HSLhsl(271, 45%, 63%)
HSVhsv(271, 42%, 80%)
CMYKcmyk(20.2%, 41.9%, 0%, 20.4%)
CIE-LABlab(57.03, 33.63, -37.70)
CIE-LCHlch(57.03, 50.52, 311.73°)
OKLaboklab(64.31% 0.0788 -0.1048)
OKLCHoklch(64.31% 0.131 306.9)
XYZxyz(32.1561, 24.9503, 59.6102)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276CB #9FCB76
analogous
#7776CB #A276CB #CB76C9
triadic
#A276CB #CBA276 #76CBA2
tetradic
#A276CB #CB7776 #9FCB76 #76C9CB
square
#A276CB #CB7776 #9FCB76 #76C9CB
split-complementary
#A276CB #C9CB76 #76CB77
monochromatic
#653790 #844ABA #A276CB #C0A2DC #DECFED

Accessibility & contrast

On white

3.51
#A276CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A276CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276CB#FFFFFF#000000##000000
##A276CB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#9C8397
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a276cb;
/* rgb */ color: rgb(162, 118, 203);
/* oklch */ color: oklch(64.3% 0.131 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf9edb',
    500: '#a276cb',
    950: '#000000',
  },
}
SCSS
$custom: #a276cb;
$custom-light: #bf9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a276cb",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 271.059,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.13111,
    "h": 306.9
  },
  "luminance": 0.2495
}

Semantic roles & 50–950 ramp

primary
#A276CB
secondary
#CEDEBF
accent
#B82D70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A276CB

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

Preview Lab → · Contrast checker → · Palette generator →

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