#A270CB#A270CB

#A270CB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.141 H 308.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A270CB
RGBrgb(162, 112, 203)
HSLhsl(273, 47%, 62%)
HSVhsv(273, 45%, 80%)
CMYKcmyk(20.2%, 44.8%, 0%, 20.4%)
CIE-LABlab(55.67, 37.00, -39.84)
CIE-LCHlch(55.67, 54.37, 312.89°)
OKLaboklab(63.29% 0.0873 -0.111)
OKLCHoklch(63.29% 0.141 308.2)
XYZxyz(31.4719, 23.5819, 59.3821)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270CB #99CB70
analogous
#7570CB #A270CB #CB70C7
triadic
#A270CB #CBA270 #70CBA2
tetradic
#A270CB #CB7570 #99CB70 #70C7CB
square
#A270CB #CB7570 #99CB70 #70C7CB
split-complementary
#A270CB #C7CB70 #70CB75
monochromatic
#65338D #8544BA #A270CB #BF9DDB #DCCAEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A270CB#FFFFFF#000000##000000
##A270CB1.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)
#5A83CE
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#9C7F94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a270cb;
/* rgb */ color: rgb(162, 112, 203);
/* oklch */ color: oklch(63.3% 0.141 308.2);
Tailwind
colors: {
  custom: {
    50: '#bf9adb',
    500: '#a270cb',
    950: '#000000',
  },
}
SCSS
$custom: #a270cb;
$custom-light: #bf9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a270cb",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 272.967,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63292,
    "c": 0.14122,
    "h": 308.2
  },
  "luminance": 0.23582
}

Semantic roles & 50–950 ramp

primary
#A270CB
secondary
#CADCBB
accent
#BA2C6C
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A270CB

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

Preview Lab → · Contrast checker → · Palette generator →

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