#A273CA#A273CA

#A273CA is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.7% C 0.135 H 307.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A273CA
RGBrgb(162, 115, 202)
HSLhsl(272, 45%, 62%)
HSVhsv(272, 43%, 79%)
CMYKcmyk(19.8%, 43.1%, 0%, 20.8%)
CIE-LABlab(56.30, 35.09, -38.28)
CIE-LCHlch(56.30, 51.93, 312.51°)
OKLaboklab(63.75% 0.0829 -0.1065)
OKLCHoklch(63.75% 0.135 307.9)
XYZxyz(31.6896, 24.2075, 58.8687)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273CA #9BCA73
analogous
#7773CA #A273CA #CA73C7
triadic
#A273CA #CAA273 #73CAA2
tetradic
#A273CA #CA7773 #9BCA73 #73C7CA
square
#A273CA #CA7773 #9BCA73 #73C7CA
split-complementary
#A273CA #C7CA73 #73CA77
monochromatic
#65358D #8547B9 #A273CA #BF9FDB #DDCCEC

Accessibility & contrast

On white

3.60
#A273CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A273CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273CA#FFFFFF#000000##000000
##A273CA1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6B88C8
Tritanopia (blue-blind)
#9D8195
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a273ca;
/* rgb */ color: rgb(162, 115, 202);
/* oklch */ color: oklch(63.7% 0.135 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf9cda',
    500: '#a273ca',
    950: '#000000',
  },
}
SCSS
$custom: #a273ca;
$custom-light: #bf9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#a273ca",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 272.414,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63748,
    "c": 0.13494,
    "h": 307.9
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#A273CA
secondary
#CBDCBC
accent
#B82D6D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A273CA

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

Preview Lab → · Contrast checker → · Palette generator →

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