#A255CF#A255CF

#A255CF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.4% C 0.189 H 311.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A255CF
RGBrgb(162, 85, 207)
HSLhsl(278, 56%, 57%)
HSVhsv(278, 59%, 81%)
CMYKcmyk(21.7%, 58.9%, 0%, 18.8%)
CIE-LABlab(50.32, 52.34, -50.61)
CIE-LCHlch(50.32, 72.80, 315.97°)
OKLaboklab(59.4% 0.124 -0.1422)
OKLCHoklch(59.4% 0.189 311.1)
XYZxyz(29.4092, 18.6840, 61.0765)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255CF #82CF55
analogous
#6555CF #A255CF #CF55BF
triadic
#A255CF #CFA255 #55CFA2
tetradic
#A255CF #CF6555 #82CF55 #55BFCF
square
#A255CF #CF6555 #82CF55 #55BFCF
split-complementary
#A255CF #BFCF55 #55CF65
monochromatic
#612584 #8433B4 #A255CF #BC85DC #D6B4EA

Accessibility & contrast

On white

4.43
#A255CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A255CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255CF#FFFFFF#000000##000000
##A255CF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#9D6B8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a255cf;
/* rgb */ color: rgb(162, 85, 207);
/* oklch */ color: oklch(59.4% 0.189 311.1);
Tailwind
colors: {
  custom: {
    50: '#c189de',
    500: '#a255cf',
    950: '#000000',
  },
}
SCSS
$custom: #a255cf;
$custom-light: #c189de;
$custom-dark: #000000;
JSON
{
  "hex": "#a255cf",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 277.869,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.18869,
    "h": 311.1
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#A255CF
secondary
#B9D9A7
accent
#DF4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255CF

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

Preview Lab → · Contrast checker → · Palette generator →

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