#A38EF2#A38EF2

#A38EF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.7% C 0.144 H 292.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A38EF2
RGBrgb(163, 142, 242)
HSLhsl(253, 79%, 75%)
HSVhsv(253, 41%, 95%)
CMYKcmyk(32.6%, 41.3%, 0%, 5.1%)
CIE-LABlab(64.60, 29.77, -47.55)
CIE-LCHlch(64.60, 56.11, 302.05°)
OKLaboklab(70.66% 0.0538 -0.1334)
OKLCHoklch(70.66% 0.144 292)
XYZxyz(40.8001, 33.5425, 88.3119)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EF2 #DDF28E
analogous
#8EABF2 #A38EF2 #D58EF2
triadic
#A38EF2 #F2A38E #8EF2A3
tetradic
#A38EF2 #F28EAB #DDF28E #8EF2D5
square
#A38EF2 #F28EAB #DDF28E #8EF2D5
split-complementary
#A38EF2 #F2D58E #ABF28E
monochromatic
#4A20E5 #7657EC #A38EF2 #D0C5F8 #E9E4FC

Accessibility & contrast

On white

2.72
#A38EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A38EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EF2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EF2#FFFFFF#000000##000000
##A38EF21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#90A1B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38ef2;
/* rgb */ color: rgb(163, 142, 242);
/* oklch */ color: oklch(70.7% 0.144 292.0);
Tailwind
colors: {
  custom: {
    50: '#c1aff7',
    500: '#a38ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a38ef2;
$custom-light: #c1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a38ef2",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 252.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.14386,
    "h": 292
  },
  "luminance": 0.33543
}

Semantic roles & 50–950 ramp

primary
#A38EF2
secondary
#EEF4D7
accent
#DC0AB0
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A38EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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