#A270BC#A270BC

#A270BC is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.5% C 0.123 H 313.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A270BC
RGBrgb(162, 112, 188)
HSLhsl(279, 36%, 59%)
HSVhsv(279, 40%, 74%)
CMYKcmyk(13.8%, 40.4%, 0%, 26.3%)
CIE-LABlab(54.97, 33.65, -32.37)
CIE-LCHlch(54.97, 46.69, 316.12°)
OKLaboklab(62.54% 0.0846 -0.0894)
OKLCHoklch(62.54% 0.123 313.4)
XYZxyz(29.7701, 22.9012, 50.4193)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270BC #8ABC70
analogous
#7C70BC #A270BC #BC70B0
triadic
#A270BC #BCA270 #70BCA2
tetradic
#A270BC #BC7C70 #8ABC70 #70B0BC
square
#A270BC #BC7C70 #8ABC70 #70B0BC
split-complementary
#A270BC #B0BC70 #70BC7C
monochromatic
#633979 #854CA3 #A270BC #BD9AD0 #D8C3E3

Accessibility & contrast

On white

3.76
#A270BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A270BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270BC#FFFFFF#000000##000000
##A270BC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281BF
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#A07B8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a270bc;
/* rgb */ color: rgb(162, 112, 188);
/* oklch */ color: oklch(62.5% 0.123 313.4);
Tailwind
colors: {
  custom: {
    50: '#bf9ad0',
    500: '#a270bc',
    950: '#000000',
  },
}
SCSS
$custom: #a270bc;
$custom-light: #bf9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a270bc",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 279.474,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.1231,
    "h": 313.4
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#A270BC
secondary
#BFD3B5
accent
#CC5C82
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A270BC

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

Preview Lab → · Contrast checker → · Palette generator →

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