#A296FB#A296FB

#A296FB is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.5% C 0.144 H 287.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A296FB
RGBrgb(162, 150, 251)
HSLhsl(247, 93%, 79%)
HSVhsv(247, 40%, 98%)
CMYKcmyk(35.5%, 40.2%, 0%, 1.6%)
CIE-LABlab(66.87, 27.28, -48.91)
CIE-LCHlch(66.87, 56.00, 299.15°)
OKLaboklab(72.51% 0.0438 -0.1374)
OKLCHoklch(72.51% 0.144 287.7)
XYZxyz(43.2145, 36.4579, 96.0083)
Luminance0.3646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A296FB #EFFB96
analogous
#96BCFB #A296FB #D496FB
triadic
#A296FB #FBA296 #96FBA2
tetradic
#A296FB #FB96BC #EFFB96 #96FBD4
square
#A296FB #FB96BC #EFFB96 #96FBD4
split-complementary
#A296FB #FBD496 #BCFB96
monochromatic
#3A20F7 #6E5BF9 #A296FB #D6D1FD #E5E2FE

Accessibility & contrast

On white

2.53
#A296FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A296FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A296FB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A296FB#FFFFFF#000000##000000
##A296FB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#8BA9BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a296fb;
/* rgb */ color: rgb(162, 150, 251);
/* oklch */ color: oklch(72.5% 0.144 287.7);
Tailwind
colors: {
  custom: {
    50: '#c0b5fd',
    500: '#a296fb',
    950: '#000000',
  },
}
SCSS
$custom: #a296fb;
$custom-light: #c0b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a296fb",
  "rgb": {
    "r": 162,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 247.129,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.1442,
    "h": 287.7
  },
  "luminance": 0.36459
}

Semantic roles & 50–950 ramp

primary
#A296FB
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A296FB

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

Preview Lab → · Contrast checker → · Palette generator →

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