#A273BD#A273BD

#A273BD is a light, moderate violet. Relative luminance 0.236; OKLCH L 63.1% C 0.119 H 312.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A273BD
RGBrgb(162, 115, 189)
HSLhsl(278, 36%, 60%)
HSVhsv(278, 39%, 74%)
CMYKcmyk(14.3%, 39.2%, 0%, 25.9%)
CIE-LABlab(55.70, 32.18, -31.80)
CIE-LCHlch(55.70, 45.24, 315.34°)
OKLaboklab(63.11% 0.0804 -0.0878)
OKLCHoklch(63.11% 0.119 312.5)
XYZxyz(30.2148, 23.6175, 51.1012)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273BD #8EBD73
analogous
#7D73BD #A273BD #BD73B3
triadic
#A273BD #BDA273 #73BDA2
tetradic
#A273BD #BD7D73 #8EBD73 #73B3BD
square
#A273BD #BD7D73 #8EBD73 #73B3BD
split-complementary
#A273BD #B3BD73 #73BD7D
monochromatic
#643A7B #854EA5 #A273BD #BE9DD1 #D9C6E4

Accessibility & contrast

On white

3.67
#A273BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A273BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273BD#FFFFFF#000000##000000
##A273BD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C0
Deuteranopia (green-blind)
#7187BB
Tritanopia (blue-blind)
#A07D8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a273bd;
/* rgb */ color: rgb(162, 115, 189);
/* oklch */ color: oklch(63.1% 0.119 312.5);
Tailwind
colors: {
  custom: {
    50: '#bf9cd1',
    500: '#a273bd',
    950: '#000000',
  },
}
SCSS
$custom: #a273bd;
$custom-light: #bf9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a273bd",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 278.108,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.11903,
    "h": 312.5
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#A273BD
secondary
#C2D4B8
accent
#CC5C85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A273BD

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

Preview Lab → · Contrast checker → · Palette generator →

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