#A276DB#A276DB

#A276DB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.151 H 302.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A276DB
RGBrgb(162, 118, 219)
HSLhsl(266, 58%, 66%)
HSVhsv(266, 46%, 86%)
CMYKcmyk(26%, 46.1%, 0%, 14.1%)
CIE-LABlab(57.80, 37.39, -45.51)
CIE-LCHlch(57.80, 58.90, 309.40°)
OKLaboklab(65.15% 0.0813 -0.1275)
OKLCHoklch(65.15% 0.151 302.5)
XYZxyz(34.1621, 25.7527, 70.1751)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276DB #AFDB76
analogous
#767CDB #A276DB #D576DB
triadic
#A276DB #DBA276 #76DBA2
tetradic
#A276DB #DB767C #AFDB76 #76DBD5
square
#A276DB #DB767C #AFDB76 #76DBD5
split-complementary
#A276DB #DBD576 #7CDB76
monochromatic
#632DAA #8146CE #A276DB #C3A6E8 #E4D7F4

Accessibility & contrast

On white

3.41
#A276DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A276DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276DB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276DB#FFFFFF#000000##000000
##A276DB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#648BD8
Tritanopia (blue-blind)
#98889E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a276db;
/* rgb */ color: rgb(162, 118, 219);
/* oklch */ color: oklch(65.1% 0.151 302.5);
Tailwind
colors: {
  custom: {
    50: '#c09ee6',
    500: '#a276db',
    950: '#000000',
  },
}
SCSS
$custom: #a276db;
$custom-light: #c09ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#a276db",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 266.139,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.1512,
    "h": 302.5
  },
  "luminance": 0.25753
}

Semantic roles & 50–950 ramp

primary
#A276DB
secondary
#D9E7C6
accent
#C6207D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A276DB

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

Preview Lab → · Contrast checker → · Palette generator →

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