#A296DF#A296DF

#A296DF is a light, moderate blue. Relative luminance 0.348; OKLCH L 71.1% C 0.106 H 291.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A296DF
RGBrgb(162, 150, 223)
HSLhsl(250, 53%, 73%)
HSVhsv(250, 33%, 87%)
CMYKcmyk(27.4%, 32.7%, 0%, 12.5%)
CIE-LABlab(65.61, 20.17, -35.50)
CIE-LCHlch(65.61, 40.83, 299.61°)
OKLaboklab(71.13% 0.0378 -0.0986)
OKLCHoklch(71.13% 0.106 291)
XYZxyz(39.1226, 34.8211, 74.4577)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296DF #D3DF96
analogous
#96AEDF #A296DF #C696DF
triadic
#A296DF #DFA296 #96DFA2
tetradic
#A296DF #DF96AE #D3DF96 #96DFC6
square
#A296DF #DF96AE #D3DF96 #96DFC6
split-complementary
#A296DF #DFC696 #AEDF96
monochromatic
#503BC0 #7867D1 #A296DF #CCC5ED #EAE8F8

Accessibility & contrast

On white

2.64
#A296DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A296DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296DF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296DF#FFFFFF#000000##000000
##A296DF1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A1E2
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#94A3B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a296df;
/* rgb */ color: rgb(162, 150, 223);
/* oklch */ color: oklch(71.1% 0.106 291.0);
Tailwind
colors: {
  custom: {
    50: '#bfb4e9',
    500: '#a296df',
    950: '#000000',
  },
}
SCSS
$custom: #a296df;
$custom-light: #bfb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a296df",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 249.863,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71132,
    "c": 0.10558,
    "h": 291
  },
  "luminance": 0.34822
}

Semantic roles & 50–950 ramp

primary
#A296DF
secondary
#ECEFDC
accent
#C125A7
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A296DF

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

Preview Lab → · Contrast checker → · Palette generator →

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