#A296EB#A296EB

#A296EB is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.7% C 0.122 H 289.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A296EB
RGBrgb(162, 150, 235)
HSLhsl(248, 68%, 75%)
HSVhsv(248, 36%, 92%)
CMYKcmyk(31.1%, 36.2%, 0%, 7.8%)
CIE-LABlab(66.13, 23.16, -41.30)
CIE-LCHlch(66.13, 47.36, 299.29°)
OKLaboklab(71.7% 0.0406 -0.1153)
OKLCHoklch(71.7% 0.122 289.4)
XYZxyz(40.7982, 35.4913, 83.2822)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296EB #DFEB96
analogous
#96B4EB #A296EB #CD96EB
triadic
#A296EB #EBA296 #96EBA2
tetradic
#A296EB #EB96B4 #DFEB96 #96EBCD
square
#A296EB #EB96B4 #DFEB96 #96EBCD
split-complementary
#A296EB #EBCD96 #B4EB96
monochromatic
#472FD7 #7463E1 #A296EB #D0C9F5 #E8E5FA

Accessibility & contrast

On white

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

On black

8.10
#A296EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296EB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296EB#FFFFFF#000000##000000
##A296EB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#91A5B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a296eb;
/* rgb */ color: rgb(162, 150, 235);
/* oklch */ color: oklch(71.7% 0.122 289.4);
Tailwind
colors: {
  custom: {
    50: '#bfb5f2',
    500: '#a296eb',
    950: '#000000',
  },
}
SCSS
$custom: #a296eb;
$custom-light: #bfb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a296eb",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 248.471,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71702,
    "c": 0.12227,
    "h": 289.4
  },
  "luminance": 0.35492
}

Semantic roles & 50–950 ramp

primary
#A296EB
secondary
#EEF2D9
accent
#D016B6
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A296EB

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

Preview Lab → · Contrast checker → · Palette generator →

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