#A270CD#A270CD

#A270CD is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.144 H 307.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A270CD
RGBrgb(162, 112, 205)
HSLhsl(272, 48%, 62%)
HSVhsv(272, 45%, 80%)
CMYKcmyk(21%, 45.4%, 0%, 19.6%)
CIE-LABlab(55.76, 37.46, -40.82)
CIE-LCHlch(55.76, 55.41, 312.54°)
OKLaboklab(63.4% 0.0876 -0.1138)
OKLCHoklch(63.4% 0.144 307.6)
XYZxyz(31.7117, 23.6778, 60.6455)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270CD #9BCD70
analogous
#7370CD #A270CD #CD70CA
triadic
#A270CD #CDA270 #70CDA2
tetradic
#A270CD #CD7370 #9BCD70 #70CACD
square
#A270CD #CD7370 #9BCD70 #70CACD
split-complementary
#A270CD #CACD70 #70CD73
monochromatic
#653290 #8543BD #A270CD #BF9DDD #DDCBED

Accessibility & contrast

On white

3.66
#A270CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A270CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270CD#FFFFFF#000000##000000
##A270CD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#9C7F95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a270cd;
/* rgb */ color: rgb(162, 112, 205);
/* oklch */ color: oklch(63.4% 0.144 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf9adc',
    500: '#a270cd',
    950: '#000000',
  },
}
SCSS
$custom: #a270cd;
$custom-light: #bf9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a270cd",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 272.258,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.14366,
    "h": 307.6
  },
  "luminance": 0.23678
}

Semantic roles & 50–950 ramp

primary
#A270CD
secondary
#CBDDBB
accent
#BB2A6D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A270CD

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

Preview Lab → · Contrast checker → · Palette generator →

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