#A255F5#A255F5

#A255F5 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.229 H 302.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A255F5
RGBrgb(162, 85, 245)
HSLhsl(269, 89%, 65%)
HSVhsv(269, 65%, 96%)
CMYKcmyk(33.9%, 65.3%, 0%, 3.9%)
CIE-LABlab(52.70, 60.99, -68.24)
CIE-LCHlch(52.70, 91.52, 311.79°)
OKLaboklab(61.89% 0.1221 -0.194)
OKLCHoklch(61.89% 0.229 302.2)
XYZxyz(34.6263, 20.7709, 88.5534)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255F5 #A8F555
analogous
#5558F5 #A255F5 #F255F5
triadic
#A255F5 #F5A255 #55F5A2
tetradic
#A255F5 #F55558 #A8F555 #55F5F2
square
#A255F5 #F55558 #A8F555 #55F5F2
split-complementary
#A255F5 #F5F255 #58F555
monochromatic
#640CC4 #821BF2 #A255F5 #C28FF8 #E1C9FC

Accessibility & contrast

On white

4.07
#A255F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A255F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255F5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255F5#FFFFFF#000000##000000
##A255F51.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#097DF2
Tritanopia (blue-blind)
#91799E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a255f5;
/* rgb */ color: rgb(162, 85, 245);
/* oklch */ color: oklch(61.9% 0.229 302.2);
Tailwind
colors: {
  custom: {
    50: '#c389f9',
    500: '#a255f5',
    950: '#000000',
  },
}
SCSS
$custom: #a255f5;
$custom-light: #c389f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a255f5",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 245
  },
  "hsl": {
    "h": 268.875,
    "s": 88.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.22924,
    "h": 302.2
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#A255F5
secondary
#D4EEB7
accent
#E60077
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255F5

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

Preview Lab → · Contrast checker → · Palette generator →

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