#A299FC#A299FC

#A299FC is a light, vivid blue. Relative luminance 0.375; OKLCH L 73.1% C 0.141 H 286.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A299FC
RGBrgb(162, 153, 252)
HSLhsl(245, 94%, 79%)
HSVhsv(245, 39%, 99%)
CMYKcmyk(35.7%, 39.3%, 0%, 1.2%)
CIE-LABlab(67.64, 25.84, -48.23)
CIE-LCHlch(67.64, 54.72, 298.18°)
OKLaboklab(73.11% 0.0401 -0.1354)
OKLCHoklch(73.11% 0.141 286.5)
XYZxyz(43.8574, 37.4908, 97.0023)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299FC #F3FC99
analogous
#99C1FC #A299FC #D499FC
triadic
#A299FC #FCA299 #99FCA2
tetradic
#A299FC #FC99C1 #F3FC99 #99FCD4
square
#A299FC #FC99C1 #F3FC99 #99FCD4
split-complementary
#A299FC #FCD499 #C1FC99
monochromatic
#3622F9 #6C5EFA #A299FC #D8D4FE #E4E1FE

Accessibility & contrast

On white

2.47
#A299FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A299FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299FC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299FC#FFFFFF#000000##000000
##A299FC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#8AACBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a299fc;
/* rgb */ color: rgb(162, 153, 252);
/* oklch */ color: oklch(73.1% 0.141 286.5);
Tailwind
colors: {
  custom: {
    50: '#c0b7fe',
    500: '#a299fc',
    950: '#000000',
  },
}
SCSS
$custom: #a299fc;
$custom-light: #c0b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a299fc",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 245.455,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.14123,
    "h": 286.5
  },
  "luminance": 0.37492
}

Semantic roles & 50–950 ramp

primary
#A299FC
secondary
#F3F6D5
accent
#E600D1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A299FC

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

Preview Lab → · Contrast checker → · Palette generator →

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