#A862F7#A862F7

#A862F7 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.215 H 302.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A862F7
RGBrgb(168, 98, 247)
HSLhsl(268, 90%, 68%)
HSVhsv(268, 60%, 97%)
CMYKcmyk(32%, 60.3%, 0%, 3.1%)
CIE-LABlab(55.86, 56.32, -64.21)
CIE-LCHlch(55.86, 85.41, 311.25°)
OKLaboklab(64.37% 0.1153 -0.182)
OKLCHoklch(64.37% 0.215 302.4)
XYZxyz(37.3007, 23.7755, 90.6017)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862F7 #B1F762
analogous
#6266F7 #A862F7 #F362F7
triadic
#A862F7 #F7A862 #62F7A8
tetradic
#A862F7 #F76266 #B1F762 #62F7F3
square
#A862F7 #F76266 #B1F762 #62F7F3
split-complementary
#A862F7 #F7F362 #66F762
monochromatic
#690BD4 #8828F4 #A862F7 #C89CFA #E9D6FD

Accessibility & contrast

On white

3.65
#A862F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A862F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862F7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862F7#FFFFFF#000000##000000
##A862F71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#3685F4
Tritanopia (blue-blind)
#9881A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a862f7;
/* rgb */ color: rgb(168, 98, 247);
/* oklch */ color: oklch(64.4% 0.215 302.4);
Tailwind
colors: {
  custom: {
    50: '#c692fb',
    500: '#a862f7',
    950: '#000000',
  },
}
SCSS
$custom: #a862f7;
$custom-light: #c692fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a862f7",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 268.188,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.21548,
    "h": 302.4
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#A862F7
secondary
#DCF2C3
accent
#E6007A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862F7

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

Preview Lab → · Contrast checker → · Palette generator →

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