#A398FC#A398FC

#A398FC is a light, vivid blue. Relative luminance 0.373; OKLCH L 73.0% C 0.143 H 287.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A398FC
RGBrgb(163, 152, 252)
HSLhsl(247, 94%, 79%)
HSVhsv(247, 40%, 99%)
CMYKcmyk(35.3%, 39.7%, 0%, 1.2%)
CIE-LABlab(67.48, 26.67, -48.48)
CIE-LCHlch(67.48, 55.33, 298.81°)
OKLaboklab(73.01% 0.0425 -0.1361)
OKLCHoklch(73.01% 0.143 287.4)
XYZxyz(43.8984, 37.2700, 96.9575)
Luminance0.3727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398FC #F1FC98
analogous
#98BFFC #A398FC #D598FC
triadic
#A398FC #FCA398 #98FCA3
tetradic
#A398FC #FC98BF #F1FC98 #98FCD5
square
#A398FC #FC98BF #F1FC98 #98FCD5
split-complementary
#A398FC #FCD598 #BFFC98
monochromatic
#3921F9 #6E5DFA #A398FC #D8D3FE #E4E1FE

Accessibility & contrast

On white

2.48
#A398FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A398FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398FC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398FC#FFFFFF#000000##000000
##A398FC1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#8CABBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a398fc;
/* rgb */ color: rgb(163, 152, 252);
/* oklch */ color: oklch(73.0% 0.143 287.4);
Tailwind
colors: {
  custom: {
    50: '#c1b6fe',
    500: '#a398fc',
    950: '#000000',
  },
}
SCSS
$custom: #a398fc;
$custom-light: #c1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a398fc",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 246.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73007,
    "c": 0.14262,
    "h": 287.4
  },
  "luminance": 0.37271
}

Semantic roles & 50–950 ramp

primary
#A398FC
secondary
#F3F6D5
accent
#E600CC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A398FC

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

Preview Lab → · Contrast checker → · Palette generator →

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