#A255E7#A255E7

#A255E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.214 H 305.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A255E7
RGBrgb(162, 85, 231)
HSLhsl(272, 75%, 62%)
HSVhsv(272, 63%, 91%)
CMYKcmyk(29.9%, 63.2%, 0%, 9.4%)
CIE-LABlab(51.78, 57.74, -61.88)
CIE-LCHlch(51.78, 84.63, 313.02°)
OKLaboklab(60.93% 0.1233 -0.1753)
OKLCHoklch(60.93% 0.214 305.1)
XYZxyz(32.5694, 19.9481, 77.7204)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E7 #9AE755
analogous
#5955E7 #A255E7 #E755E3
triadic
#A255E7 #E7A255 #55E7A2
tetradic
#A255E7 #E75955 #9AE755 #55E3E7
square
#A255E7 #E75955 #9AE755 #55E3E7
split-complementary
#A255E7 #E3E755 #55E759
monochromatic
#6518AA #8520DF #A255E7 #BF8BEF #DDC0F6

Accessibility & contrast

On white

4.21
#A255E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A255E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E7#FFFFFF#000000##000000
##A255E71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#967497
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a255e7;
/* rgb */ color: rgb(162, 85, 231);
/* oklch */ color: oklch(60.9% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#c289ef',
    500: '#a255e7',
    950: '#000000',
  },
}
SCSS
$custom: #a255e7;
$custom-light: #c289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e7",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 271.644,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.21433,
    "h": 305.1
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#A255E7
secondary
#CAE7B1
accent
#D70E6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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