#A38ECB#A38ECB

#A38ECB is a light, moderate violet. Relative luminance 0.314; OKLCH L 68.8% C 0.091 H 299.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A38ECB
RGBrgb(163, 142, 203)
HSLhsl(261, 37%, 68%)
HSVhsv(261, 30%, 80%)
CMYKcmyk(19.7%, 30%, 0%, 20.4%)
CIE-LABlab(62.88, 20.26, -28.59)
CIE-LCHlch(62.88, 35.04, 305.33°)
OKLaboklab(68.79% 0.0452 -0.0787)
OKLCHoklch(68.79% 0.091 299.8)
XYZxyz(35.5544, 31.4442, 60.6846)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38ECB #B6CB8E
analogous
#8E97CB #A38ECB #C28ECB
triadic
#A38ECB #CBA38E #8ECBA3
tetradic
#A38ECB #CB8E97 #B6CB8E #8ECBC2
square
#A38ECB #CB8E97 #B6CB8E #8ECBC2
split-complementary
#A38ECB #CBC28E #97CB8E
monochromatic
#624698 #8164B8 #A38ECB #C5B8DE #E7E2F2

Accessibility & contrast

On white

2.88
#A38ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A38ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38ECB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38ECB#FFFFFF#000000##000000
##A38ECB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#8498C9
Tritanopia (blue-blind)
#9C97A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a38ecb;
/* rgb */ color: rgb(163, 142, 203);
/* oklch */ color: oklch(68.8% 0.091 299.8);
Tailwind
colors: {
  custom: {
    50: '#bfafdb',
    500: '#a38ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a38ecb;
$custom-light: #bfafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a38ecb",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 260.656,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.09077,
    "h": 299.8
  },
  "luminance": 0.31444
}

Semantic roles & 50–950 ramp

primary
#A38ECB
secondary
#DDE4D1
accent
#B03686
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A38ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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