#A276DF#A276DF

#A276DF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.4% C 0.156 H 301.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A276DF
RGBrgb(162, 118, 223)
HSLhsl(265, 62%, 67%)
HSVhsv(265, 47%, 87%)
CMYKcmyk(27.4%, 47.1%, 0%, 12.5%)
CIE-LABlab(58.00, 38.35, -47.44)
CIE-LCHlch(58.00, 61.00, 308.96°)
OKLaboklab(65.37% 0.0818 -0.1331)
OKLCHoklch(65.37% 0.156 301.6)
XYZxyz(34.6950, 25.9659, 72.9818)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276DF #B3DF76
analogous
#767FDF #A276DF #D776DF
triadic
#A276DF #DFA276 #76DFA2
tetradic
#A276DF #DF767F #B3DF76 #76DFD7
square
#A276DF #DF767F #B3DF76 #76DFD7
split-complementary
#A276DF #DFD776 #7FDF76
monochromatic
#6229B1 #8044D3 #A276DF #C4A8EB #E5D9F6

Accessibility & contrast

On white

3.39
#A276DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A276DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276DF#FFFFFF#000000##000000
##A276DF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#618BDC
Tritanopia (blue-blind)
#9789A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a276df;
/* rgb */ color: rgb(162, 118, 223);
/* oklch */ color: oklch(65.4% 0.156 301.6);
Tailwind
colors: {
  custom: {
    50: '#c09ee9',
    500: '#a276df',
    950: '#000000',
  },
}
SCSS
$custom: #a276df;
$custom-light: #c09ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#a276df",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 265.143,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.15621,
    "h": 301.6
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#A276DF
secondary
#DBE9C8
accent
#CA1C81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A276DF

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

Preview Lab → · Contrast checker → · Palette generator →

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