#A858F5#A858F5

#A858F5 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.9% C 0.227 H 304.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A858F5
RGBrgb(168, 88, 245)
HSLhsl(271, 89%, 65%)
HSVhsv(271, 64%, 96%)
CMYKcmyk(31.4%, 64.1%, 0%, 3.9%)
CIE-LABlab(53.92, 60.78, -66.24)
CIE-LCHlch(53.92, 89.90, 312.54°)
OKLaboklab(62.92% 0.1267 -0.1879)
OKLCHoklch(62.92% 0.227 304)
XYZxyz(36.1159, 21.8970, 88.6924)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A858F5 #A5F558
analogous
#5958F5 #A858F5 #F558F4
triadic
#A858F5 #F5A858 #58F5A8
tetradic
#A858F5 #F55958 #A5F558 #58F4F5
square
#A858F5 #F55958 #A5F558 #58F4F5
split-complementary
#A858F5 #F4F558 #58F559
monochromatic
#6B0CC7 #8A1EF2 #A858F5 #C692F8 #E4CBFC

Accessibility & contrast

On white

3.90
#A858F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#A858F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A858F5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A858F5#FFFFFF#000000##000000
##A858F51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#2681F2
Tritanopia (blue-blind)
#9A7A9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a858f5;
/* rgb */ color: rgb(168, 88, 245);
/* oklch */ color: oklch(62.9% 0.227 304.0);
Tailwind
colors: {
  custom: {
    50: '#c78cf9',
    500: '#a858f5',
    950: '#000000',
  },
}
SCSS
$custom: #a858f5;
$custom-light: #c78cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a858f5",
  "rgb": {
    "r": 168,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 270.573,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.22663,
    "h": 304
  },
  "luminance": 0.21897
}

Semantic roles & 50–950 ramp

primary
#A858F5
secondary
#D4EFBA
accent
#E50071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A858F5

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

Preview Lab → · Contrast checker → · Palette generator →

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