#A38BEC#A38BEC

#A38BEC is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.8% C 0.140 H 293.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A38BEC
RGBrgb(163, 139, 236)
HSLhsl(255, 72%, 74%)
HSVhsv(255, 41%, 93%)
CMYKcmyk(30.9%, 41.1%, 0%, 7.5%)
CIE-LABlab(63.60, 29.96, -45.83)
CIE-LCHlch(63.60, 54.75, 303.17°)
OKLaboklab(69.81% 0.0567 -0.1284)
OKLCHoklch(69.81% 0.14 293.8)
XYZxyz(39.4734, 32.3072, 83.4969)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38BEC #D4EC8B
analogous
#8BA3EC #A38BEC #D38BEC
triadic
#A38BEC #ECA38B #8BECA3
tetradic
#A38BEC #EC8BA3 #D4EC8B #8BECD3
square
#A38BEC #EC8BA3 #D4EC8B #8BECD3
split-complementary
#A38BEC #ECD38B #A3EC8B
monochromatic
#5024D9 #7956E3 #A38BEC #CDC0F5 #EAE5FB

Accessibility & contrast

On white

2.81
#A38BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A38BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38BEC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38BEC#FFFFFF#000000##000000
##A38BEC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#939DB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a38bec;
/* rgb */ color: rgb(163, 139, 236);
/* oklch */ color: oklch(69.8% 0.140 293.8);
Tailwind
colors: {
  custom: {
    50: '#c0adf2',
    500: '#a38bec',
    950: '#000000',
  },
}
SCSS
$custom: #a38bec;
$custom-light: #c0adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a38bec",
  "rgb": {
    "r": 163,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 254.845,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.14038,
    "h": 293.8
  },
  "luminance": 0.32308
}

Semantic roles & 50–950 ramp

primary
#A38BEC
secondary
#ECF2D9
accent
#D412A4
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A38BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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