#A255BF#A255BF

#A255BF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.172 H 315.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A255BF
RGBrgb(162, 85, 191)
HSLhsl(284, 45%, 54%)
HSVhsv(284, 55%, 75%)
CMYKcmyk(15.2%, 55.5%, 0%, 25.1%)
CIE-LABlab(49.42, 48.90, -42.82)
CIE-LCHlch(49.42, 65.00, 318.80°)
OKLaboklab(58.46% 0.1234 -0.1195)
OKLCHoklch(58.46% 0.172 315.9)
XYZxyz(27.5513, 17.9409, 51.2917)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255BF #72BF55
analogous
#6D55BF #A255BF #BF55A7
triadic
#A255BF #BFA255 #55BFA2
tetradic
#A255BF #BF6D55 #72BF55 #55A7BF
square
#A255BF #BF6D55 #72BF55 #55A7BF
split-complementary
#A255BF #A7BF55 #55BF6D
monochromatic
#5D2A70 #813B9C #A255BF #BA81D0 #D3AEE0

Accessibility & contrast

On white

4.58
#A255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A255BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255BF#FFFFFF#000000##000000
##A255BF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#A06682
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a255bf;
/* rgb */ color: rgb(162, 85, 191);
/* oklch */ color: oklch(58.5% 0.172 315.9);
Tailwind
colors: {
  custom: {
    50: '#c088d3',
    500: '#a255bf',
    950: '#000000',
  },
}
SCSS
$custom: #a255bf;
$custom-light: #c088d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a255bf",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 283.585,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.17174,
    "h": 315.9
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#A255BF
secondary
#AECEA1
accent
#D55376
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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