#A255D7#A255D7

#A255D7 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.9% C 0.197 H 308.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A255D7
RGBrgb(162, 85, 215)
HSLhsl(276, 62%, 59%)
HSVhsv(276, 60%, 84%)
CMYKcmyk(24.7%, 60.5%, 0%, 15.7%)
CIE-LABlab(50.79, 54.11, -54.42)
CIE-LCHlch(50.79, 76.74, 314.84°)
OKLaboklab(59.9% 0.124 -0.1534)
OKLCHoklch(59.9% 0.197 308.9)
XYZxyz(30.4121, 19.0852, 66.3585)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D7 #8AD755
analogous
#6155D7 #A255D7 #D755CB
triadic
#A255D7 #D7A255 #55D7A2
tetradic
#A255D7 #D76155 #8AD755 #55CBD7
square
#A255D7 #D76155 #8AD755 #55CBD7
split-complementary
#A255D7 #CBD755 #55D761
monochromatic
#632290 #852DC1 #A255D7 #BD87E3 #D8B8EE

Accessibility & contrast

On white

4.36
#A255D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A255D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D7#FFFFFF#000000##000000
##A255D71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#437AD4
Tritanopia (blue-blind)
#9A6E8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a255d7;
/* rgb */ color: rgb(162, 85, 215);
/* oklch */ color: oklch(59.9% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#c189e4',
    500: '#a255d7',
    950: '#000000',
  },
}
SCSS
$custom: #a255d7;
$custom-light: #c189e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d7",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 275.538,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.19723,
    "h": 308.9
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#A255D7
secondary
#BFDEAA
accent
#E54385
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255D7

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

Preview Lab → · Contrast checker → · Palette generator →

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