#A265EC#A265EC

#A265EC is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.5% C 0.198 H 301.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A265EC
RGBrgb(162, 101, 236)
HSLhsl(267, 78%, 66%)
HSVhsv(267, 57%, 93%)
CMYKcmyk(31.4%, 57.2%, 0%, 7.5%)
CIE-LABlab(55.12, 50.78, -59.32)
CIE-LCHlch(55.12, 78.08, 310.57°)
OKLaboklab(63.46% 0.1044 -0.1678)
OKLCHoklch(63.46% 0.198 301.9)
XYZxyz(34.6908, 23.0448, 81.9611)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A265EC #AFEC65
analogous
#656BEC #A265EC #E565EC
triadic
#A265EC #ECA265 #65ECA2
tetradic
#A265EC #EC656B #AFEC65 #65ECE5
square
#A265EC #EC656B #AFEC65 #65ECE5
split-complementary
#A265EC #ECE565 #6BEC65
monochromatic
#6318BF #812FE5 #A265EC #C39BF3 #E4D2F9

Accessibility & contrast

On white

3.74
#A265EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A265EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A265EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A265EC#FFFFFF#000000##000000
##A265EC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F0
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#93809F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a265ec;
/* rgb */ color: rgb(162, 101, 236);
/* oklch */ color: oklch(63.5% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#c193f3',
    500: '#a265ec',
    950: '#000000',
  },
}
SCSS
$custom: #a265ec;
$custom-light: #c193f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a265ec",
  "rgb": {
    "r": 162,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 267.111,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63463,
    "c": 0.19764,
    "h": 301.9
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

primary
#A265EC
secondary
#D9EDC0
accent
#DA0B7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A265EC

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

Preview Lab → · Contrast checker → · Palette generator →

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