#A276CD#A276CD

#A276CD is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.4% C 0.134 H 306.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A276CD
RGBrgb(162, 118, 205)
HSLhsl(270, 47%, 63%)
HSVhsv(270, 42%, 80%)
CMYKcmyk(21%, 42.4%, 0%, 19.6%)
CIE-LABlab(57.12, 34.09, -38.69)
CIE-LCHlch(57.12, 51.57, 311.38°)
OKLaboklab(64.42% 0.0791 -0.1077)
OKLCHoklch(64.42% 0.134 306.3)
XYZxyz(32.3960, 25.0463, 60.8735)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276CD #A1CD76
analogous
#7676CD #A276CD #CD76CC
triadic
#A276CD #CDA276 #76CDA2
tetradic
#A276CD #CD7676 #A1CD76 #76CCCD
square
#A276CD #CD7676 #A1CD76 #76CCCD
split-complementary
#A276CD #CCCD76 #76CD76
monochromatic
#653693 #8449BD #A276CD #C0A3DD #DFD0EE

Accessibility & contrast

On white

3.49
#A276CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A276CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276CD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276CD#FFFFFF#000000##000000
##A276CD1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D0
Deuteranopia (green-blind)
#6C89CB
Tritanopia (blue-blind)
#9C8498
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a276cd;
/* rgb */ color: rgb(162, 118, 205);
/* oklch */ color: oklch(64.4% 0.134 306.3);
Tailwind
colors: {
  custom: {
    50: '#bf9edc',
    500: '#a276cd',
    950: '#000000',
  },
}
SCSS
$custom: #a276cd;
$custom-light: #bf9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a276cd",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 270.345,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.13362,
    "h": 306.3
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

primary
#A276CD
secondary
#CFDFC0
accent
#BA2C72
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A276CD

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

Preview Lab → · Contrast checker → · Palette generator →

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