#A288F8#A288F8

#A288F8 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.161 H 292.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A288F8
RGBrgb(162, 136, 248)
HSLhsl(254, 89%, 75%)
HSVhsv(254, 45%, 97%)
CMYKcmyk(34.7%, 45.2%, 0%, 2.7%)
CIE-LABlab(63.40, 34.46, -52.76)
CIE-LCHlch(63.40, 63.01, 303.15°)
OKLaboklab(69.83% 0.0613 -0.1486)
OKLCHoklch(69.83% 0.161 292.4)
XYZxyz(40.6433, 32.0661, 92.8368)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A288F8 #DEF888
analogous
#88A6F8 #A288F8 #DA88F8
triadic
#A288F8 #F8A288 #88F8A2
tetradic
#A288F8 #F888A6 #DEF888 #88F8DA
square
#A288F8 #F888A6 #DEF888 #88F8DA
split-complementary
#A288F8 #F8DA88 #A6F888
monochromatic
#4814F1 #754EF5 #A288F8 #CFC2FB #E8E2FD

Accessibility & contrast

On white

2.83
#A288F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#A288F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A288F8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A288F8#FFFFFF#000000##000000
##A288F81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#8D9DB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a288f8;
/* rgb */ color: rgb(162, 136, 248);
/* oklch */ color: oklch(69.8% 0.161 292.4);
Tailwind
colors: {
  custom: {
    50: '#c1abfb',
    500: '#a288f8',
    950: '#000000',
  },
}
SCSS
$custom: #a288f8;
$custom-light: #c1abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a288f8",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 253.929,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.16077,
    "h": 292.4
  },
  "luminance": 0.32067
}

Semantic roles & 50–950 ramp

primary
#A288F8
secondary
#EEF5D6
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A288F8

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

Preview Lab → · Contrast checker → · Palette generator →

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