#A397FC#A397FC

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

Color values

HEX#A397FC
RGBrgb(163, 151, 252)
HSLhsl(247, 94%, 79%)
HSVhsv(247, 40%, 99%)
CMYKcmyk(35.3%, 40.1%, 0%, 1.2%)
CIE-LABlab(67.24, 27.24, -48.87)
CIE-LCHlch(67.24, 55.94, 299.13°)
OKLaboklab(72.82% 0.0438 -0.1372)
OKLCHoklch(72.82% 0.144 287.7)
XYZxyz(43.7368, 36.9468, 96.9036)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FC #F0FC97
analogous
#97BEFC #A397FC #D697FC
triadic
#A397FC #FCA397 #97FCA3
tetradic
#A397FC #FC97BE #F0FC97 #97FCD6
square
#A397FC #FC97BE #F0FC97 #97FCD6
split-complementary
#A397FC #FCD697 #BEFC97
monochromatic
#3A20F9 #6E5CFA #A397FC #D8D2FE #E5E1FE

Accessibility & contrast

On white

2.50
#A397FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A397FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397FC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397FC#FFFFFF#000000##000000
##A397FC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#8CAABD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a397fc;
/* rgb */ color: rgb(163, 151, 252);
/* oklch */ color: oklch(72.8% 0.144 287.7);
Tailwind
colors: {
  custom: {
    50: '#c1b5fe',
    500: '#a397fc',
    950: '#000000',
  },
}
SCSS
$custom: #a397fc;
$custom-light: #c1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a397fc",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 247.129,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.14407,
    "h": 287.7
  },
  "luminance": 0.36948
}

Semantic roles & 50–950 ramp

primary
#A397FC
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A397FC

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

Preview Lab → · Contrast checker → · Palette generator →

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