#A098F9#A098F9

#A098F9 is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.6% C 0.139 H 286.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A098F9
RGBrgb(160, 152, 249)
HSLhsl(245, 89%, 79%)
HSVhsv(245, 39%, 98%)
CMYKcmyk(35.7%, 39%, 0%, 2.4%)
CIE-LABlab(67.10, 25.10, -47.46)
CIE-LCHlch(67.10, 53.68, 297.87°)
OKLaboklab(72.62% 0.0386 -0.1332)
OKLCHoklch(72.62% 0.139 286.2)
XYZxyz(42.8196, 36.7683, 94.4451)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A098F9 #F1F998
analogous
#98C0F9 #A098F9 #D098F9
triadic
#A098F9 #F9A098 #98F9A0
tetradic
#A098F9 #F998C0 #F1F998 #98F9D0
square
#A098F9 #F998C0 #F1F998 #98F9D0
split-complementary
#A098F9 #F9D098 #C0F998
monochromatic
#3524F2 #6B5EF6 #A098F9 #D5D2FC #E4E2FD

Accessibility & contrast

On white

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

On black

8.35
#A098F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A098F9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A098F9#FFFFFF#000000##000000
##A098F91.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#88AABD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a098f9;
/* rgb */ color: rgb(160, 152, 249);
/* oklch */ color: oklch(72.6% 0.139 286.2);
Tailwind
colors: {
  custom: {
    50: '#bfb6fb',
    500: '#a098f9',
    950: '#000000',
  },
}
SCSS
$custom: #a098f9;
$custom-light: #bfb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a098f9",
  "rgb": {
    "r": 160,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 244.948,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.13869,
    "h": 286.2
  },
  "luminance": 0.3677
}

Semantic roles & 50–950 ramp

primary
#A098F9
secondary
#F3F5D6
accent
#E600D3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #A098F9

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

Preview Lab → · Contrast checker → · Palette generator →

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