#A862F0#A862F0

#A862F0 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.9% C 0.208 H 303.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A862F0
RGBrgb(168, 98, 240)
HSLhsl(270, 83%, 66%)
HSVhsv(270, 59%, 94%)
CMYKcmyk(30%, 59.2%, 0%, 5.9%)
CIE-LABlab(55.43, 54.67, -61.01)
CIE-LCHlch(55.43, 81.92, 311.86°)
OKLaboklab(63.92% 0.1155 -0.1726)
OKLCHoklch(63.92% 0.208 303.8)
XYZxyz(36.2408, 23.3516, 85.0192)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862F0 #AAF062
analogous
#6263F0 #A862F0 #EF62F0
triadic
#A862F0 #F0A862 #62F0A8
tetradic
#A862F0 #F06263 #AAF062 #62F0EF
square
#A862F0 #F06263 #AAF062 #62F0EF
split-complementary
#A862F0 #F0EF62 #63F062
monochromatic
#6B13C5 #892AEB #A862F0 #C79AF5 #E6D2FB

Accessibility & contrast

On white

3.70
#A862F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A862F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862F0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862F0#FFFFFF#000000##000000
##A862F01.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1983F5
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#9B7FA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a862f0;
/* rgb */ color: rgb(168, 98, 240);
/* oklch */ color: oklch(63.9% 0.208 303.8);
Tailwind
colors: {
  custom: {
    50: '#c692f6',
    500: '#a862f0',
    950: '#000000',
  },
}
SCSS
$custom: #a862f0;
$custom-light: #c692f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a862f0",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 269.577,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.2077,
    "h": 303.8
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#A862F0
secondary
#D7EEC0
accent
#DF0774
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862F0

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

Preview Lab → · Contrast checker → · Palette generator →

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