#A265CB#A265CB

#A265CB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.159 H 310.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A265CB
RGBrgb(162, 101, 203)
HSLhsl(276, 50%, 60%)
HSVhsv(276, 50%, 80%)
CMYKcmyk(20.2%, 50.2%, 0%, 20.4%)
CIE-LABlab(53.28, 43.07, -43.61)
CIE-LCHlch(53.28, 61.29, 314.64°)
OKLaboklab(61.51% 0.1027 -0.1219)
OKLCHoklch(61.51% 0.159 310.1)
XYZxyz(30.3315, 21.3011, 59.0020)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A265CB #8ECB65
analogous
#6F65CB #A265CB #CB65C1
triadic
#A265CB #CBA265 #65CBA2
tetradic
#A265CB #CB6F65 #8ECB65 #65C1CB
square
#A265CB #CB6F65 #8ECB65 #65C1CB
split-complementary
#A265CB #C1CB65 #65CB6F
monochromatic
#642E88 #853DB6 #A265CB #BE93DA #D9C1EA

Accessibility & contrast

On white

3.99
#A265CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A265CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A265CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A265CB#FFFFFF#000000##000000
##A265CB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCF
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#9D768F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a265cb;
/* rgb */ color: rgb(162, 101, 203);
/* oklch */ color: oklch(61.5% 0.159 310.1);
Tailwind
colors: {
  custom: {
    50: '#c093db',
    500: '#a265cb',
    950: '#000000',
  },
}
SCSS
$custom: #a265cb;
$custom-light: #c093db;
$custom-dark: #000000;
JSON
{
  "hex": "#a265cb",
  "rgb": {
    "r": 162,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 275.882,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.15937,
    "h": 310.1
  },
  "luminance": 0.21301
}

Semantic roles & 50–950 ramp

primary
#A265CB
secondary
#C2DAB2
accent
#D94F86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A265CB

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

Preview Lab → · Contrast checker → · Palette generator →

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