#A265DC#A265DC

#A265DC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.179 H 305.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A265DC
RGBrgb(162, 101, 220)
HSLhsl(271, 63%, 63%)
HSVhsv(271, 54%, 86%)
CMYKcmyk(26.4%, 54.1%, 0%, 13.7%)
CIE-LABlab(54.19, 46.97, -51.81)
CIE-LCHlch(54.19, 69.93, 312.20°)
OKLaboklab(62.48% 0.104 -0.1458)
OKLCHoklch(62.48% 0.179 305.5)
XYZxyz(32.4695, 22.1563, 70.2623)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A265DC #9FDC65
analogous
#6665DC #A265DC #DC65DB
triadic
#A265DC #DCA265 #65DCA2
tetradic
#A265DC #DC6665 #9FDC65 #65DBDC
square
#A265DC #DC6665 #9FDC65 #65DBDC
split-complementary
#A265DC #DBDC65 #65DC66
monochromatic
#6525A2 #8433D1 #A265DC #C097E7 #DEC9F3

Accessibility & contrast

On white

3.87
#A265DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A265DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A265DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A265DC#FFFFFF#000000##000000
##A265DC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#987B97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a265dc;
/* rgb */ color: rgb(162, 101, 220);
/* oklch */ color: oklch(62.5% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#c193e7',
    500: '#a265dc',
    950: '#000000',
  },
}
SCSS
$custom: #a265dc;
$custom-light: #c193e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a265dc",
  "rgb": {
    "r": 162,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 270.756,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.1791,
    "h": 305.5
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#A265DC
secondary
#CEE4B9
accent
#CB1B71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A265DC

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

Preview Lab → · Contrast checker → · Palette generator →

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