#A862FB#A862FB

#A862FB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.220 H 301.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A862FB
RGBrgb(168, 98, 251)
HSLhsl(267, 95%, 68%)
HSVhsv(267, 61%, 98%)
CMYKcmyk(33.1%, 61%, 0%, 1.6%)
CIE-LABlab(56.11, 57.27, -66.03)
CIE-LCHlch(56.11, 87.40, 310.94°)
OKLaboklab(64.63% 0.1152 -0.1873)
OKLCHoklch(64.63% 0.22 301.6)
XYZxyz(37.9246, 24.0251, 93.8874)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862FB #B5FB62
analogous
#6268FB #A862FB #F462FB
triadic
#A862FB #FBA862 #62FBA8
tetradic
#A862FB #FB6268 #B5FB62 #62FBF4
square
#A862FB #FB6268 #B5FB62 #62FBF4
split-complementary
#A862FB #FBF462 #68FB62
monochromatic
#6806DD #8726F9 #A862FB #C99EFD #EAD9FE

Accessibility & contrast

On white

3.62
#A862FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A862FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862FB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862FB#FFFFFF#000000##000000
##A862FB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3086F8
Tritanopia (blue-blind)
#9783A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a862fb;
/* rgb */ color: rgb(168, 98, 251);
/* oklch */ color: oklch(64.6% 0.220 301.6);
Tailwind
colors: {
  custom: {
    50: '#c792fd',
    500: '#a862fb',
    950: '#000000',
  },
}
SCSS
$custom: #a862fb;
$custom-light: #c792fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a862fb",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 267.451,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6463,
    "c": 0.21991,
    "h": 301.6
  },
  "luminance": 0.24025
}

Semantic roles & 50–950 ramp

primary
#A862FB
secondary
#DEF3C5
accent
#E6007C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #A862FB

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

Preview Lab → · Contrast checker → · Palette generator →

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