#A296EF#A296EF

#A296EF is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.9% C 0.128 H 288.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A296EF
RGBrgb(162, 150, 239)
HSLhsl(248, 74%, 76%)
HSVhsv(248, 37%, 94%)
CMYKcmyk(32.2%, 37.2%, 0%, 6.3%)
CIE-LABlab(66.31, 24.18, -43.22)
CIE-LCHlch(66.31, 49.52, 299.23°)
OKLaboklab(71.9% 0.0415 -0.1209)
OKLCHoklch(71.9% 0.128 288.9)
XYZxyz(41.3825, 35.7251, 86.3599)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296EF #E3EF96
analogous
#96B7EF #A296EF #CF96EF
triadic
#A296EF #EFA296 #96EFA2
tetradic
#A296EF #EF96B7 #E3EF96 #96EFCF
square
#A296EF #EF96B7 #E3EF96 #96EFCF
split-complementary
#A296EF #EFCF96 #B7EF96
monochromatic
#442CDF #7361E7 #A296EF #D1CBF7 #E7E4FB

Accessibility & contrast

On white

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

On black

8.15
#A296EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296EF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296EF#FFFFFF#000000##000000
##A296EF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F2
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#8FA6B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a296ef;
/* rgb */ color: rgb(162, 150, 239);
/* oklch */ color: oklch(71.9% 0.128 288.9);
Tailwind
colors: {
  custom: {
    50: '#c0b5f4',
    500: '#a296ef',
    950: '#000000',
  },
}
SCSS
$custom: #a296ef;
$custom-light: #c0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a296ef",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 248.09,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71898,
    "c": 0.12778,
    "h": 288.9
  },
  "luminance": 0.35726
}

Semantic roles & 50–950 ramp

primary
#A296EF
secondary
#EFF3D8
accent
#D610BB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A296EF

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

Preview Lab → · Contrast checker → · Palette generator →

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