#D38EFA#D38EFA

#D38EFA is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.6% C 0.165 H 312.4°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#D38EFA
RGBrgb(211, 142, 250)
HSLhsl(278, 92%, 77%)
HSVhsv(278, 43%, 98%)
CMYKcmyk(15.6%, 43.2%, 0%, 2%)
CIE-LABlab(69.54, 44.87, -43.85)
CIE-LCHlch(69.54, 62.74, 315.66°)
OKLaboklab(75.57% 0.1111 -0.1216)
OKLCHoklch(75.57% 0.165 312.4)
XYZxyz(53.7893, 40.0981, 95.3301)
Luminance0.4010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EFA #B5FA8E
analogous
#9D8EFA #D38EFA #FA8EEB
triadic
#D38EFA #FAD38E #8EFAD3
tetradic
#D38EFA #FA9D8E #B5FA8E #8EEBFA
square
#D38EFA #FA9D8E #B5FA8E #8EEBFA
split-complementary
#D38EFA #EBFA8E #8EFA9D
monochromatic
#A519F5 #BC53F7 #D38EFA #EAC9FD #F4E2FE

Accessibility & contrast

On white

2.33
#D38EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#D38EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EFA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EFA#FFFFFF#000000##000000
##D38EFA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#CF9EB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38efa;
/* rgb */ color: rgb(211, 142, 250);
/* oklch */ color: oklch(75.6% 0.165 312.4);
Tailwind
colors: {
  custom: {
    50: '#e2b0fc',
    500: '#d38efa',
    950: '#000000',
  },
}
SCSS
$custom: #d38efa;
$custom-light: #e2b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d38efa",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 278.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75571,
    "c": 0.16475,
    "h": 312.4
  },
  "luminance": 0.40097
}

Semantic roles & 50–950 ramp

primary
#D38EFA
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #D38EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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