#A295FE#A295FE

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

Color values

HEX#A295FE
RGBrgb(162, 149, 254)
HSLhsl(247, 98%, 79%)
HSVhsv(247, 41%, 100%)
CMYKcmyk(36.2%, 41.3%, 0%, 0.4%)
CIE-LABlab(66.77, 28.64, -50.70)
CIE-LCHlch(66.77, 58.23, 299.46°)
OKLaboklab(72.48% 0.0456 -0.1426)
OKLCHoklch(72.48% 0.15 287.7)
XYZxyz(43.5323, 36.3308, 98.4656)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A295FE #F1FE95
analogous
#95BDFE #A295FE #D795FE
triadic
#A295FE #FEA295 #95FEA2
tetradic
#A295FE #FE95BD #F1FE95 #95FED7
square
#A295FE #FE95BD #F1FE95 #95FED7
split-complementary
#A295FE #FED795 #BDFE95
monochromatic
#381CFD #6D58FD #A295FE #D7D2FF #E4E1FF

Accessibility & contrast

On white

2.54
#A295FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A295FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A295FE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A295FE#FFFFFF#000000##000000
##A295FE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#8AA9BD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a295fe;
/* rgb */ color: rgb(162, 149, 254);
/* oklch */ color: oklch(72.5% 0.150 287.7);
Tailwind
colors: {
  custom: {
    50: '#c1b4ff',
    500: '#a295fe',
    950: '#000000',
  },
}
SCSS
$custom: #a295fe;
$custom-light: #c1b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a295fe",
  "rgb": {
    "r": 162,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 247.429,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.14971,
    "h": 287.7
  },
  "luminance": 0.36332
}

Semantic roles & 50–950 ramp

primary
#A295FE
secondary
#F3F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A295FE

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

Preview Lab → · Contrast checker → · Palette generator →

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