#A98BFB#A98BFB

#A98BFB is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.161 H 294.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A98BFB
RGBrgb(169, 139, 251)
HSLhsl(256, 93%, 76%)
HSVhsv(256, 45%, 98%)
CMYKcmyk(32.7%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.85, 35.33, -52.05)
CIE-LCHlch(64.85, 62.91, 304.17°)
OKLaboklab(71.13% 0.0661 -0.1464)
OKLCHoklch(71.13% 0.161 294.3)
XYZxyz(43.0030, 33.8645, 95.5189)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BFB #DDFB8B
analogous
#8BA5FB #A98BFB #E18BFB
triadic
#A98BFB #FBA98B #8BFBA9
tetradic
#A98BFB #FB8BA5 #DDFB8B #8BFBE1
square
#A98BFB #FB8BA5 #DDFB8B #8BFBE1
split-complementary
#A98BFB #FBE18B #A5FB8B
monochromatic
#5115F7 #7D50F9 #A98BFB #D5C6FD #E9E1FE

Accessibility & contrast

On white

2.70
#A98BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A98BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BFB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BFB#FFFFFF#000000##000000
##A98BFB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFF
Deuteranopia (green-blind)
#6B9CF8
Tritanopia (blue-blind)
#96A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98bfb;
/* rgb */ color: rgb(169, 139, 251);
/* oklch */ color: oklch(71.1% 0.161 294.3);
Tailwind
colors: {
  custom: {
    50: '#c5adfd',
    500: '#a98bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a98bfb;
$custom-light: #c5adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bfb",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 256.071,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71125,
    "c": 0.16061,
    "h": 294.3
  },
  "luminance": 0.33865
}

Semantic roles & 50–950 ramp

primary
#A98BFB
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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