#A098FB#A098FB

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

Color values

HEX#A098FB
RGBrgb(160, 152, 251)
HSLhsl(245, 93%, 79%)
HSVhsv(245, 39%, 98%)
CMYKcmyk(36.3%, 39.4%, 0%, 1.6%)
CIE-LABlab(67.20, 25.62, -48.40)
CIE-LCHlch(67.20, 54.76, 297.90°)
OKLaboklab(72.72% 0.039 -0.1359)
OKLCHoklch(72.72% 0.141 286)
XYZxyz(43.1332, 36.8937, 96.0967)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A098FB #F3FB98
analogous
#98C2FB #A098FB #D298FB
triadic
#A098FB #FBA098 #98FBA0
tetradic
#A098FB #FB98C2 #F3FB98 #98FBD2
square
#A098FB #FB98C2 #F3FB98 #98FBD2
split-complementary
#A098FB #FBD298 #C2FB98
monochromatic
#3322F6 #6A5DF9 #A098FB #D6D3FD #E4E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A098FB#FFFFFF#000000##000000
##A098FB1.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)
#78A6FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#88ABBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a098fb;
/* rgb */ color: rgb(160, 152, 251);
/* oklch */ color: oklch(72.7% 0.141 286.0);
Tailwind
colors: {
  custom: {
    50: '#bfb6fd',
    500: '#a098fb',
    950: '#000000',
  },
}
SCSS
$custom: #a098fb;
$custom-light: #bfb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a098fb",
  "rgb": {
    "r": 160,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 244.848,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72719,
    "c": 0.14142,
    "h": 286
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#A098FB
secondary
#F3F6D5
accent
#E600D3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #A098FB

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

Preview Lab → · Contrast checker → · Palette generator →

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