#A398CD#A398CD

#A398CD is a light, moderate violet. Relative luminance 0.347; OKLCH L 70.8% C 0.077 H 293.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A398CD
RGBrgb(163, 152, 205)
HSLhsl(252, 35%, 70%)
HSVhsv(252, 26%, 80%)
CMYKcmyk(20.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(65.48, 15.04, -25.71)
CIE-LCHlch(65.48, 29.79, 300.33°)
OKLaboklab(70.81% 0.0312 -0.0706)
OKLCHoklch(70.81% 0.077 293.9)
XYZxyz(37.3494, 34.6504, 62.4662)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398CD #C2CD98
analogous
#98A7CD #A398CD #BE98CD
triadic
#A398CD #CDA398 #98CDA3
tetradic
#A398CD #CD98A7 #C2CD98 #98CDBE
square
#A398CD #CD98A7 #C2CD98 #98CDBE
split-complementary
#A398CD #CDBE98 #A7CD98
monochromatic
#5E4D9E #7E6FB9 #A398CD #C8C1E1 #EDEAF5

Accessibility & contrast

On white

2.65
#A398CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A398CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398CD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398CD#FFFFFF#000000##000000
##A398CD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#8D9ECC
Tritanopia (blue-blind)
#9BA0AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a398cd;
/* rgb */ color: rgb(163, 152, 205);
/* oklch */ color: oklch(70.8% 0.077 293.9);
Tailwind
colors: {
  custom: {
    50: '#bfb6dc',
    500: '#a398cd',
    950: '#000000',
  },
}
SCSS
$custom: #a398cd;
$custom-light: #bfb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a398cd",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 252.453,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.07723,
    "h": 293.9
  },
  "luminance": 0.34651
}

Semantic roles & 50–950 ramp

primary
#A398CD
secondary
#E5E8D9
accent
#AD3895
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A398CD

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

Preview Lab → · Contrast checker → · Palette generator →

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