#A299FB#A299FB

#A299FB is a light, vivid blue. Relative luminance 0.374; OKLCH L 73.1% C 0.140 H 286.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#A299FB
RGBrgb(162, 153, 251)
HSLhsl(246, 92%, 79%)
HSVhsv(246, 39%, 98%)
CMYKcmyk(35.5%, 39%, 0%, 1.6%)
CIE-LABlab(67.60, 25.58, -47.76)
CIE-LCHlch(67.60, 54.18, 298.17°)
OKLaboklab(73.06% 0.04 -0.134)
OKLCHoklch(73.06% 0.14 286.6)
XYZxyz(43.6994, 37.4276, 96.1699)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A299FB #F2FB99
analogous
#99C1FB #A299FB #D399FB
triadic
#A299FB #FBA299 #99FBA2
tetradic
#A299FB #FB99C1 #F2FB99 #99FBD3
square
#A299FB #FB99C1 #F2FB99 #99FBD3
split-complementary
#A299FB #FBD399 #C1FB99
monochromatic
#3723F6 #6C5EF9 #A299FB #D8D4FD #E4E2FE

Accessibility & contrast

On white

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

On black

8.49
#A299FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A299FB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A299FB#FFFFFF#000000##000000
##A299FB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#8BACBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a299fb;
/* rgb */ color: rgb(162, 153, 251);
/* oklch */ color: oklch(73.1% 0.140 286.6);
Tailwind
colors: {
  custom: {
    50: '#c0b7fd',
    500: '#a299fb',
    950: '#000000',
  },
}
SCSS
$custom: #a299fb;
$custom-light: #c0b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a299fb",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 245.51,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.13987,
    "h": 286.6
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#A299FB
secondary
#F3F6D5
accent
#E600D0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #A299FB

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

Preview Lab → · Contrast checker → · Palette generator →

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