#A299F2#A299F2

#A299F2 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.6% C 0.128 H 287.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A299F2
RGBrgb(162, 153, 242)
HSLhsl(246, 77%, 77%)
HSVhsv(246, 37%, 95%)
CMYKcmyk(33.1%, 36.8%, 0%, 5.1%)
CIE-LABlab(67.18, 23.24, -43.49)
CIE-LCHlch(67.18, 49.32, 298.12°)
OKLaboklab(72.61% 0.0382 -0.1217)
OKLCHoklch(72.61% 0.128 287.4)
XYZxyz(42.3143, 36.8735, 88.8751)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299F2 #E9F299
analogous
#99BDF2 #A299F2 #CE99F2
triadic
#A299F2 #F2A299 #99F2A2
tetradic
#A299F2 #F299BD #E9F299 #99F2CE
square
#A299F2 #F299BD #E9F299 #99F2CE
split-complementary
#A299F2 #F2CE99 #BDF299
monochromatic
#3F2CE4 #7163EB #A299F2 #D3CFF9 #E6E4FC

Accessibility & contrast

On white

2.51
#A299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A299F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299F2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299F2#FFFFFF#000000##000000
##A299F21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#8EA9BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a299f2;
/* rgb */ color: rgb(162, 153, 242);
/* oklch */ color: oklch(72.6% 0.128 287.4);
Tailwind
colors: {
  custom: {
    50: '#c0b7f6',
    500: '#a299f2',
    950: '#000000',
  },
}
SCSS
$custom: #a299f2;
$custom-light: #c0b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a299f2",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 246.067,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7261,
    "c": 0.1275,
    "h": 287.4
  },
  "luminance": 0.36875
}

Semantic roles & 50–950 ramp

primary
#A299F2
secondary
#F1F3D8
accent
#DA0CC5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #A299F2

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

Preview Lab → · Contrast checker → · Palette generator →

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