#A255D4#A255D4

#A255D4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.7% C 0.194 H 309.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A255D4
RGBrgb(162, 85, 212)
HSLhsl(276, 60%, 58%)
HSVhsv(276, 60%, 83%)
CMYKcmyk(23.6%, 59.9%, 0%, 16.9%)
CIE-LABlab(50.61, 53.44, -52.99)
CIE-LCHlch(50.61, 75.26, 315.24°)
OKLaboklab(59.71% 0.124 -0.1492)
OKLCHoklch(59.71% 0.194 309.7)
XYZxyz(30.0302, 18.9324, 64.3469)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D4 #87D455
analogous
#6255D4 #A255D4 #D455C6
triadic
#A255D4 #D4A255 #55D4A2
tetradic
#A255D4 #D46255 #87D455 #55C6D4
square
#A255D4 #D46255 #87D455 #55C6D4
split-complementary
#A255D4 #C6D455 #55D462
monochromatic
#62238B #8530BC #A255D4 #BD86E0 #D7B7ED

Accessibility & contrast

On white

4.39
#A255D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A255D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D4#FFFFFF#000000##000000
##A255D41.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2275D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#9B6D8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a255d4;
/* rgb */ color: rgb(162, 85, 212);
/* oklch */ color: oklch(59.7% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#c189e2',
    500: '#a255d4',
    950: '#000000',
  },
}
SCSS
$custom: #a255d4;
$custom-light: #c189e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d4",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 276.378,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.19402,
    "h": 309.7
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#A255D4
secondary
#BDDCA9
accent
#E34583
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255D4

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

Preview Lab → · Contrast checker → · Palette generator →

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