#A255F2#A255F2

#A255F2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.226 H 302.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A255F2
RGBrgb(162, 85, 242)
HSLhsl(269, 86%, 64%)
HSVhsv(269, 65%, 95%)
CMYKcmyk(33.1%, 64.9%, 0%, 5.1%)
CIE-LABlab(52.50, 60.29, -66.89)
CIE-LCHlch(52.50, 90.05, 312.03°)
OKLaboklab(61.68% 0.1224 -0.19)
OKLCHoklch(61.68% 0.226 302.8)
XYZxyz(34.1721, 20.5892, 86.1610)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255F2 #A5F255
analogous
#5557F2 #A255F2 #F155F2
triadic
#A255F2 #F2A255 #55F2A2
tetradic
#A255F2 #F25557 #A5F255 #55F2F1
square
#A255F2 #F25557 #A5F255 #55F2F1
split-complementary
#A255F2 #F2F155 #57F255
monochromatic
#650FBE #831CEE #A255F2 #C18EF6 #E0C7FB

Accessibility & contrast

On white

4.10
#A255F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A255F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255F2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255F2#FFFFFF#000000##000000
##A255F21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#177DEF
Tritanopia (blue-blind)
#92789C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a255f2;
/* rgb */ color: rgb(162, 85, 242);
/* oklch */ color: oklch(61.7% 0.226 302.8);
Tailwind
colors: {
  custom: {
    50: '#c389f7',
    500: '#a255f2',
    950: '#000000',
  },
}
SCSS
$custom: #a255f2;
$custom-light: #c389f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a255f2",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 269.427,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.22605,
    "h": 302.8
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#A255F2
secondary
#D2EDB6
accent
#E20375
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255F2

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

Preview Lab → · Contrast checker → · Palette generator →

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