#A296EC#A296EC

#A296EC is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.8% C 0.124 H 289.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A296EC
RGBrgb(162, 150, 236)
HSLhsl(248, 69%, 76%)
HSVhsv(248, 36%, 93%)
CMYKcmyk(31.4%, 36.4%, 0%, 7.5%)
CIE-LABlab(66.17, 23.42, -41.78)
CIE-LCHlch(66.17, 47.90, 299.27°)
OKLaboklab(71.75% 0.0409 -0.1167)
OKLCHoklch(71.75% 0.124 289.3)
XYZxyz(40.9430, 35.5493, 84.0452)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296EC #E0EC96
analogous
#96B5EC #A296EC #CD96EC
triadic
#A296EC #ECA296 #96ECA2
tetradic
#A296EC #EC96B5 #E0EC96 #96ECCD
square
#A296EC #EC96B5 #E0EC96 #96ECCD
split-complementary
#A296EC #ECCD96 #B5EC96
monochromatic
#462ED9 #7462E3 #A296EC #D0CAF5 #E8E5FA

Accessibility & contrast

On white

2.59
#A296EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A296EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296EC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296EC#FFFFFF#000000##000000
##A296EC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#90A6B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a296ec;
/* rgb */ color: rgb(162, 150, 236);
/* oklch */ color: oklch(71.8% 0.124 289.3);
Tailwind
colors: {
  custom: {
    50: '#bfb5f2',
    500: '#a296ec',
    950: '#000000',
  },
}
SCSS
$custom: #a296ec;
$custom-light: #bfb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a296ec",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 248.372,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.12364,
    "h": 289.3
  },
  "luminance": 0.3555
}

Semantic roles & 50–950 ramp

primary
#A296EC
secondary
#EEF2D9
accent
#D114B7
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A296EC

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

Preview Lab → · Contrast checker → · Palette generator →

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