#A397FB#A397FB

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

Color values

HEX#A397FB
RGBrgb(163, 151, 251)
HSLhsl(247, 93%, 79%)
HSVhsv(247, 40%, 98%)
CMYKcmyk(35.1%, 39.8%, 0%, 1.6%)
CIE-LABlab(67.19, 26.98, -48.40)
CIE-LCHlch(67.19, 55.41, 299.13°)
OKLaboklab(72.77% 0.0437 -0.1359)
OKLCHoklch(72.77% 0.143 287.8)
XYZxyz(43.5787, 36.8836, 96.0713)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FB #EFFB97
analogous
#97BDFB #A397FB #D597FB
triadic
#A397FB #FBA397 #97FBA3
tetradic
#A397FB #FB97BD #EFFB97 #97FBD5
square
#A397FB #FB97BD #EFFB97 #97FBD5
split-complementary
#A397FB #FBD597 #BDFB97
monochromatic
#3B21F6 #6F5CF9 #A397FB #D7D2FD #E5E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A397FB#FFFFFF#000000##000000
##A397FB1.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)
#77A6FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#8CAABD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a397fb;
/* rgb */ color: rgb(163, 151, 251);
/* oklch */ color: oklch(72.8% 0.143 287.8);
Tailwind
colors: {
  custom: {
    50: '#c1b5fd',
    500: '#a397fb',
    950: '#000000',
  },
}
SCSS
$custom: #a397fb;
$custom-light: #c1b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a397fb",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 247.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.14271,
    "h": 287.8
  },
  "luminance": 0.36885
}

Semantic roles & 50–950 ramp

primary
#A397FB
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A397FB

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

Preview Lab → · Contrast checker → · Palette generator →

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