#A296EE#A296EE

#A296EE is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.8% C 0.126 H 289.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A296EE
RGBrgb(162, 150, 238)
HSLhsl(248, 72%, 76%)
HSVhsv(248, 37%, 93%)
CMYKcmyk(31.9%, 37%, 0%, 6.7%)
CIE-LABlab(66.26, 23.93, -42.74)
CIE-LCHlch(66.26, 48.98, 299.24°)
OKLaboklab(71.85% 0.0413 -0.1195)
OKLCHoklch(71.85% 0.126 289.1)
XYZxyz(41.2352, 35.6662, 85.5840)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296EE #E2EE96
analogous
#96B6EE #A296EE #CE96EE
triadic
#A296EE #EEA296 #96EEA2
tetradic
#A296EE #EE96B6 #E2EE96 #96EECE
square
#A296EE #EE96B6 #E2EE96 #96EECE
split-complementary
#A296EE #EECE96 #B6EE96
monochromatic
#452DDD #7361E5 #A296EE #D1CBF7 #E8E5FB

Accessibility & contrast

On white

2.58
#A296EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A296EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296EE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296EE#FFFFFF#000000##000000
##A296EE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#90A6B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a296ee;
/* rgb */ color: rgb(162, 150, 238);
/* oklch */ color: oklch(71.8% 0.126 289.1);
Tailwind
colors: {
  custom: {
    50: '#c0b5f4',
    500: '#a296ee',
    950: '#000000',
  },
}
SCSS
$custom: #a296ee;
$custom-light: #c0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a296ee",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 248.182,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71849,
    "c": 0.12641,
    "h": 289.1
  },
  "luminance": 0.35667
}

Semantic roles & 50–950 ramp

primary
#A296EE
secondary
#EFF2D9
accent
#D411BA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A296EE

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

Preview Lab → · Contrast checker → · Palette generator →

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