#A662FB#A662FB

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

Color values

HEX#A662FB
RGBrgb(166, 98, 251)
HSLhsl(267, 95%, 68%)
HSVhsv(267, 61%, 98%)
CMYKcmyk(33.9%, 61%, 0%, 1.6%)
CIE-LABlab(55.89, 56.84, -66.39)
CIE-LCHlch(55.89, 87.40, 310.57°)
OKLaboklab(64.42% 0.1126 -0.1885)
OKLCHoklch(64.42% 0.22 300.9)
XYZxyz(37.5020, 23.8072, 93.8676)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662FB #B7FB62
analogous
#626AFB #A662FB #F362FB
triadic
#A662FB #FBA662 #62FBA6
tetradic
#A662FB #FB626A #B7FB62 #62FBF3
square
#A662FB #FB626A #B7FB62 #62FBF3
split-complementary
#A662FB #FBF362 #6AFB62
monochromatic
#6506DD #8426F9 #A662FB #C89EFD #EAD9FE

Accessibility & contrast

On white

3.64
#A662FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A662FB#FFFFFF#000000##000000
##A662FB1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#9483A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a662fb;
/* rgb */ color: rgb(166, 98, 251);
/* oklch */ color: oklch(64.4% 0.220 300.9);
Tailwind
colors: {
  custom: {
    50: '#c592fd',
    500: '#a662fb',
    950: '#000000',
  },
}
SCSS
$custom: #a662fb;
$custom-light: #c592fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a662fb",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 266.667,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.21956,
    "h": 300.9
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#A662FB
secondary
#DFF3C5
accent
#E6007F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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