#A288FC#A288FC

#A288FC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.166 H 291.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A288FC
RGBrgb(162, 136, 252)
HSLhsl(253, 95%, 76%)
HSVhsv(253, 46%, 99%)
CMYKcmyk(35.7%, 46%, 0%, 1.2%)
CIE-LABlab(63.60, 35.50, -54.62)
CIE-LCHlch(63.60, 65.15, 303.02°)
OKLaboklab(70.05% 0.0618 -0.1541)
OKLCHoklch(70.05% 0.166 291.9)
XYZxyz(41.2705, 32.3170, 96.1400)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A288FC #E2FC88
analogous
#88A8FC #A288FC #DC88FC
triadic
#A288FC #FCA288 #88FCA2
tetradic
#A288FC #FC88A8 #E2FC88 #88FCDC
square
#A288FC #FC88A8 #E2FC88 #88FCDC
split-complementary
#A288FC #FCDC88 #A8FC88
monochromatic
#4511F9 #734CFA #A288FC #D1C4FE #E8E1FE

Accessibility & contrast

On white

2.81
#A288FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A288FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A288FC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A288FC#FFFFFF#000000##000000
##A288FC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#8C9FB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a288fc;
/* rgb */ color: rgb(162, 136, 252);
/* oklch */ color: oklch(70.1% 0.166 291.9);
Tailwind
colors: {
  custom: {
    50: '#c1abfe',
    500: '#a288fc',
    950: '#000000',
  },
}
SCSS
$custom: #a288fc;
$custom-light: #c1abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a288fc",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 253.448,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70054,
    "c": 0.16601,
    "h": 291.9
  },
  "luminance": 0.32318
}

Semantic roles & 50–950 ramp

primary
#A288FC
secondary
#EFF6D5
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A288FC

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

Preview Lab → · Contrast checker → · Palette generator →

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