#A862F2#A862F2

#A862F2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.0% C 0.210 H 303.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A862F2
RGBrgb(168, 98, 242)
HSLhsl(269, 85%, 67%)
HSVhsv(269, 60%, 95%)
CMYKcmyk(30.6%, 59.5%, 0%, 5.1%)
CIE-LABlab(55.55, 55.14, -61.93)
CIE-LCHlch(55.55, 82.92, 311.68°)
OKLaboklab(64.05% 0.1155 -0.1753)
OKLCHoklch(64.05% 0.21 303.4)
XYZxyz(36.5395, 23.4711, 86.5926)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862F2 #ACF262
analogous
#6264F2 #A862F2 #F062F2
triadic
#A862F2 #F2A862 #62F2A8
tetradic
#A862F2 #F26264 #ACF262 #62F2F0
square
#A862F2 #F26264 #ACF262 #62F2F0
split-complementary
#A862F2 #F2F062 #64F262
monochromatic
#6A11C9 #8929ED #A862F2 #C79BF7 #E7D3FB

Accessibility & contrast

On white

3.69
#A862F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A862F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862F2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862F2#FFFFFF#000000##000000
##A862F21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#9A80A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a862f2;
/* rgb */ color: rgb(168, 98, 242);
/* oklch */ color: oklch(64.0% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#c692f7',
    500: '#a862f2',
    950: '#000000',
  },
}
SCSS
$custom: #a862f2;
$custom-light: #c692f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a862f2",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 269.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.20993,
    "h": 303.4
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

primary
#A862F2
secondary
#D9EFC1
accent
#E10476
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862F2

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

Preview Lab → · Contrast checker → · Palette generator →

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