#A299F3#A299F3

#A299F3 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.7% C 0.129 H 287.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A299F3
RGBrgb(162, 153, 243)
HSLhsl(246, 79%, 78%)
HSVhsv(246, 37%, 95%)
CMYKcmyk(33.3%, 37%, 0%, 4.7%)
CIE-LABlab(67.23, 23.50, -43.97)
CIE-LCHlch(67.23, 49.86, 298.12°)
OKLaboklab(72.66% 0.0384 -0.123)
OKLCHoklch(72.66% 0.129 287.3)
XYZxyz(42.4649, 36.9338, 89.6682)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299F3 #EAF399
analogous
#99BDF3 #A299F3 #CF99F3
triadic
#A299F3 #F3A299 #99F3A2
tetradic
#A299F3 #F399BD #EAF399 #99F3CF
square
#A299F3 #F399BD #EAF399 #99F3CF
split-complementary
#A299F3 #F3CF99 #BDF399
monochromatic
#3E2BE6 #7062ED #A299F3 #D4D0F9 #E6E4FC

Accessibility & contrast

On white

2.50
#A299F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A299F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299F3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299F3#FFFFFF#000000##000000
##A299F31.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA6F7
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#8EAABB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a299f3;
/* rgb */ color: rgb(162, 153, 243);
/* oklch */ color: oklch(72.7% 0.129 287.3);
Tailwind
colors: {
  custom: {
    50: '#c0b7f7',
    500: '#a299f3',
    950: '#000000',
  },
}
SCSS
$custom: #a299f3;
$custom-light: #c0b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a299f3",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 243
  },
  "hsl": {
    "h": 246,
    "s": 78.947,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.12888,
    "h": 287.3
  },
  "luminance": 0.36935
}

Semantic roles & 50–950 ramp

primary
#A299F3
secondary
#F1F4D7
accent
#DB0AC6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #A299F3

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

Preview Lab → · Contrast checker → · Palette generator →

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