#A265DF#A265DF

#A265DF is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.183 H 304.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A265DF
RGBrgb(162, 101, 223)
HSLhsl(270, 66%, 64%)
HSVhsv(270, 55%, 87%)
CMYKcmyk(27.4%, 54.7%, 0%, 12.5%)
CIE-LABlab(54.36, 47.68, -53.23)
CIE-LCHlch(54.36, 71.46, 311.85°)
OKLaboklab(62.66% 0.1041 -0.15)
OKLCHoklch(62.66% 0.183 304.8)
XYZxyz(32.8704, 22.3166, 72.3736)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A265DF #A2DF65
analogous
#6565DF #A265DF #DF65DF
triadic
#A265DF #DFA265 #65DFA2
tetradic
#A265DF #DF6565 #A2DF65 #65DFDF
square
#A265DF #DF6565 #A2DF65 #65DFDF
split-complementary
#A265DF #DFDF65 #65DF65
monochromatic
#6523A7 #8332D4 #A265DF #C198EA #DFCAF4

Accessibility & contrast

On white

3.84
#A265DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A265DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A265DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A265DF#FFFFFF#000000##000000
##A265DF1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#977C98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a265df;
/* rgb */ color: rgb(162, 101, 223);
/* oklch */ color: oklch(62.7% 0.183 304.8);
Tailwind
colors: {
  custom: {
    50: '#c193e9',
    500: '#a265df',
    950: '#000000',
  },
}
SCSS
$custom: #a265df;
$custom-light: #c193e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a265df",
  "rgb": {
    "r": 162,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.18258,
    "h": 304.8
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#A265DF
secondary
#D0E6BA
accent
#CD1873
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A265DF

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

Preview Lab → · Contrast checker → · Palette generator →

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