#A38DF2#A38DF2

#A38DF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.5% C 0.145 H 292.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A38DF2
RGBrgb(163, 141, 242)
HSLhsl(253, 80%, 75%)
HSVhsv(253, 42%, 95%)
CMYKcmyk(32.6%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.36, 30.34, -47.93)
CIE-LCHlch(64.36, 56.73, 302.33°)
OKLaboklab(70.48% 0.0551 -0.1345)
OKLCHoklch(70.48% 0.145 292.3)
XYZxyz(40.6520, 33.2463, 88.2626)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DF2 #DCF28D
analogous
#8DAAF2 #A38DF2 #D58DF2
triadic
#A38DF2 #F2A38D #8DF2A3
tetradic
#A38DF2 #F28DAA #DCF28D #8DF2D5
square
#A38DF2 #F28DAA #DCF28D #8DF2D5
split-complementary
#A38DF2 #F2D58D #AAF28D
monochromatic
#4A1FE5 #7756EC #A38DF2 #CFC4F8 #E9E4FC

Accessibility & contrast

On white

2.75
#A38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DF2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DF2#FFFFFF#000000##000000
##A38DF21.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#90A0B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a38df2;
/* rgb */ color: rgb(163, 141, 242);
/* oklch */ color: oklch(70.5% 0.145 292.3);
Tailwind
colors: {
  custom: {
    50: '#c1aef7',
    500: '#a38df2',
    950: '#000000',
  },
}
SCSS
$custom: #a38df2;
$custom-light: #c1aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a38df2",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 253.069,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70482,
    "c": 0.14536,
    "h": 292.3
  },
  "luminance": 0.33247
}

Semantic roles & 50–950 ramp

primary
#A38DF2
secondary
#EEF4D7
accent
#DC0AAE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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