#A296ED#A296ED

#A296ED is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.8% C 0.125 H 289.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A296ED
RGBrgb(162, 150, 237)
HSLhsl(248, 71%, 76%)
HSVhsv(248, 37%, 93%)
CMYKcmyk(31.6%, 36.7%, 0%, 7.1%)
CIE-LABlab(66.22, 23.67, -42.26)
CIE-LCHlch(66.22, 48.44, 299.25°)
OKLaboklab(71.8% 0.0411 -0.1181)
OKLCHoklch(71.8% 0.125 289.2)
XYZxyz(41.0887, 35.6076, 84.8125)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296ED #E1ED96
analogous
#96B5ED #A296ED #CD96ED
triadic
#A296ED #EDA296 #96EDA2
tetradic
#A296ED #ED96B5 #E1ED96 #96EDCD
square
#A296ED #ED96B5 #E1ED96 #96EDCD
split-complementary
#A296ED #EDCD96 #B5ED96
monochromatic
#452EDB #7462E4 #A296ED #D0CAF6 #E8E5FB

Accessibility & contrast

On white

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

On black

8.12
#A296ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296ED
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296ED#FFFFFF#000000##000000
##A296ED1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a296ed;
/* rgb */ color: rgb(162, 150, 237);
/* oklch */ color: oklch(71.8% 0.125 289.2);
Tailwind
colors: {
  custom: {
    50: '#c0b5f3',
    500: '#a296ed',
    950: '#000000',
  },
}
SCSS
$custom: #a296ed;
$custom-light: #c0b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a296ed",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 248.276,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.718,
    "c": 0.12503,
    "h": 289.2
  },
  "luminance": 0.35608
}

Semantic roles & 50–950 ramp

primary
#A296ED
secondary
#EFF2D9
accent
#D313B8
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A296ED

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

Preview Lab → · Contrast checker → · Palette generator →

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