#A296FE#A296FE

#A296FE is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.7% C 0.148 H 287.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A296FE
RGBrgb(162, 150, 254)
HSLhsl(247, 98%, 79%)
HSVhsv(247, 41%, 100%)
CMYKcmyk(36.2%, 40.9%, 0%, 0.4%)
CIE-LABlab(67.01, 28.07, -50.32)
CIE-LCHlch(67.01, 57.62, 299.16°)
OKLaboklab(72.66% 0.0443 -0.1415)
OKLCHoklch(72.66% 0.148 287.4)
XYZxyz(43.6911, 36.6485, 98.5186)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296FE #F2FE96
analogous
#96BEFE #A296FE #D696FE
triadic
#A296FE #FEA296 #96FEA2
tetradic
#A296FE #FE96BE #F2FE96 #96FED6
square
#A296FE #FE96BE #F2FE96 #96FED6
split-complementary
#A296FE #FED696 #BEFE96
monochromatic
#371DFD #6C59FD #A296FE #D8D3FF #E4E1FF

Accessibility & contrast

On white

2.52
#A296FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A296FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296FE
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296FE#FFFFFF#000000##000000
##A296FE1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#8AAABE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a296fe;
/* rgb */ color: rgb(162, 150, 254);
/* oklch */ color: oklch(72.7% 0.148 287.4);
Tailwind
colors: {
  custom: {
    50: '#c1b5ff',
    500: '#a296fe',
    950: '#000000',
  },
}
SCSS
$custom: #a296fe;
$custom-light: #c1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a296fe",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 246.923,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.14827,
    "h": 287.4
  },
  "luminance": 0.3665
}

Semantic roles & 50–950 ramp

primary
#A296FE
secondary
#F3F7D4
accent
#E600CB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A296FE

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

Preview Lab → · Contrast checker → · Palette generator →

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