#A273CD#A273CD

#A273CD is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.139 H 307.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A273CD
RGBrgb(162, 115, 205)
HSLhsl(271, 47%, 63%)
HSVhsv(271, 44%, 80%)
CMYKcmyk(21%, 43.9%, 0%, 19.6%)
CIE-LABlab(56.44, 35.78, -39.76)
CIE-LCHlch(56.44, 53.49, 311.98°)
OKLaboklab(63.9% 0.0834 -0.1108)
OKLCHoklch(63.9% 0.139 307)
XYZxyz(32.0483, 24.3509, 60.7576)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273CD #9ECD73
analogous
#7573CD #A273CD #CD73CB
triadic
#A273CD #CDA273 #73CDA2
tetradic
#A273CD #CD7573 #9ECD73 #73CBCD
square
#A273CD #CD7573 #9ECD73 #73CBCD
split-complementary
#A273CD #CBCD73 #73CD75
monochromatic
#653492 #8446BD #A273CD #C0A0DD #DECDED

Accessibility & contrast

On white

3.58
#A273CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A273CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273CD#FFFFFF#000000##000000
##A273CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D0
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#9C8196
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a273cd;
/* rgb */ color: rgb(162, 115, 205);
/* oklch */ color: oklch(63.9% 0.139 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf9cdc',
    500: '#a273cd',
    950: '#000000',
  },
}
SCSS
$custom: #a273cd;
$custom-light: #bf9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a273cd",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 271.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63902,
    "c": 0.13865,
    "h": 307
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#A273CD
secondary
#CDDEBE
accent
#BB2B70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A273CD

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

Preview Lab → · Contrast checker → · Palette generator →

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