#A255F0#A255F0

#A255F0 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.224 H 303.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A255F0
RGBrgb(162, 85, 240)
HSLhsl(270, 84%, 64%)
HSVhsv(270, 65%, 94%)
CMYKcmyk(32.5%, 64.6%, 0%, 5.9%)
CIE-LABlab(52.36, 59.82, -65.99)
CIE-LCHlch(52.36, 89.07, 312.19°)
OKLaboklab(61.54% 0.1226 -0.1874)
OKLCHoklch(61.54% 0.224 303.2)
XYZxyz(33.8733, 20.4697, 84.5877)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255F0 #A3F055
analogous
#5555F0 #A255F0 #EF55F0
triadic
#A255F0 #F0A255 #55F0A2
tetradic
#A255F0 #F05555 #A3F055 #55F0EF
square
#A255F0 #F05555 #A3F055 #55F0EF
split-complementary
#A255F0 #F0EF55 #55F055
monochromatic
#6510BA #831DEB #A255F0 #C18DF5 #E0C5FA

Accessibility & contrast

On white

4.12
#A255F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A255F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255F0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255F0#FFFFFF#000000##000000
##A255F01.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#1D7DED
Tritanopia (blue-blind)
#93779B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a255f0;
/* rgb */ color: rgb(162, 85, 240);
/* oklch */ color: oklch(61.5% 0.224 303.2);
Tailwind
colors: {
  custom: {
    50: '#c389f6',
    500: '#a255f0',
    950: '#000000',
  },
}
SCSS
$custom: #a255f0;
$custom-light: #c389f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a255f0",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 269.806,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.22392,
    "h": 303.2
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#A255F0
secondary
#D1ECB5
accent
#E00573
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255F0

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

Preview Lab → · Contrast checker → · Palette generator →

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