#A296FC#A296FC

#A296FC is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.6% C 0.146 H 287.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A296FC
RGBrgb(162, 150, 252)
HSLhsl(247, 94%, 79%)
HSVhsv(247, 40%, 99%)
CMYKcmyk(35.7%, 40.5%, 0%, 1.2%)
CIE-LABlab(66.92, 27.55, -49.38)
CIE-LCHlch(66.92, 56.54, 299.15°)
OKLaboklab(72.56% 0.044 -0.1388)
OKLCHoklch(72.56% 0.146 287.6)
XYZxyz(43.3726, 36.5211, 96.8407)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296FC #F0FC96
analogous
#96BDFC #A296FC #D596FC
triadic
#A296FC #FCA296 #96FCA2
tetradic
#A296FC #FC96BD #F0FC96 #96FCD5
square
#A296FC #FC96BD #F0FC96 #96FCD5
split-complementary
#A296FC #FCD596 #BDFC96
monochromatic
#391FF9 #6D5BFA #A296FC #D7D2FE #E5E1FE

Accessibility & contrast

On white

2.53
#A296FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A296FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296FC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296FC#FFFFFF#000000##000000
##A296FC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#74A0FA
Tritanopia (blue-blind)
#8BA9BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a296fc;
/* rgb */ color: rgb(162, 150, 252);
/* oklch */ color: oklch(72.6% 0.146 287.6);
Tailwind
colors: {
  custom: {
    50: '#c0b5fe',
    500: '#a296fc',
    950: '#000000',
  },
}
SCSS
$custom: #a296fc;
$custom-light: #c0b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a296fc",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 247.059,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.14556,
    "h": 287.6
  },
  "luminance": 0.36522
}

Semantic roles & 50–950 ramp

primary
#A296FC
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A296FC

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

Preview Lab → · Contrast checker → · Palette generator →

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