#A273DB#A273DB

#A273DB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.6% C 0.156 H 303.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A273DB
RGBrgb(162, 115, 219)
HSLhsl(267, 59%, 65%)
HSVhsv(267, 47%, 86%)
CMYKcmyk(26%, 47.5%, 0%, 14.1%)
CIE-LABlab(57.13, 39.07, -46.57)
CIE-LCHlch(57.13, 60.79, 309.99°)
OKLaboklab(64.65% 0.0854 -0.1306)
OKLCHoklch(64.65% 0.156 303.2)
XYZxyz(33.8144, 25.0574, 70.0592)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273DB #ACDB73
analogous
#7378DB #A273DB #D673DB
triadic
#A273DB #DBA273 #73DBA2
tetradic
#A273DB #DB7378 #ACDB73 #73DBD6
square
#A273DB #DB7378 #ACDB73 #73DBD6
split-complementary
#A273DB #DBD673 #78DB73
monochromatic
#642BA8 #8242CE #A273DB #C2A4E8 #E3D4F4

Accessibility & contrast

On white

3.49
#A273DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A273DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273DB#FFFFFF#000000##000000
##A273DB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#98859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a273db;
/* rgb */ color: rgb(162, 115, 219);
/* oklch */ color: oklch(64.6% 0.156 303.2);
Tailwind
colors: {
  custom: {
    50: '#c09ce6',
    500: '#a273db',
    950: '#000000',
  },
}
SCSS
$custom: #a273db;
$custom-light: #c09ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a273db",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 267.115,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.15599,
    "h": 303.2
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#A273DB
secondary
#D7E6C3
accent
#C71F7B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A273DB

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

Preview Lab → · Contrast checker → · Palette generator →

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