#A270BE#A270BE

#A270BE is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.6% C 0.125 H 312.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A270BE
RGBrgb(162, 112, 190)
HSLhsl(278, 38%, 59%)
HSVhsv(278, 41%, 75%)
CMYKcmyk(14.7%, 41.1%, 0%, 25.5%)
CIE-LABlab(55.06, 34.09, -33.37)
CIE-LCHlch(55.06, 47.71, 315.61°)
OKLaboklab(62.64% 0.085 -0.0923)
OKLCHoklch(62.64% 0.125 312.6)
XYZxyz(29.9872, 22.9880, 51.5626)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270BE #8CBE70
analogous
#7B70BE #A270BE #BE70B3
triadic
#A270BE #BEA270 #70BEA2
tetradic
#A270BE #BE7B70 #8CBE70 #70B3BE
square
#A270BE #BE7B70 #8CBE70 #70B3BE
split-complementary
#A270BE #B3BE70 #70BE7B
monochromatic
#63387B #854BA6 #A270BE #BD9AD1 #D9C4E4

Accessibility & contrast

On white

3.75
#A270BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A270BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270BE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270BE#FFFFFF#000000##000000
##A270BE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#6E85BC
Tritanopia (blue-blind)
#A07B8E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a270be;
/* rgb */ color: rgb(162, 112, 190);
/* oklch */ color: oklch(62.6% 0.125 312.6);
Tailwind
colors: {
  custom: {
    50: '#bf9ad2',
    500: '#a270be',
    950: '#000000',
  },
}
SCSS
$custom: #a270be;
$custom-light: #bf9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a270be",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 278.462,
    "s": 37.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.12549,
    "h": 312.6
  },
  "luminance": 0.22987
}

Semantic roles & 50–950 ramp

primary
#A270BE
secondary
#C1D4B6
accent
#CD5A84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A270BE

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

Preview Lab → · Contrast checker → · Palette generator →

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