#D38CFA#D38CFA

#D38CFA is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.3% C 0.168 H 312.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D38CFA
RGBrgb(211, 140, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.6%, 44%, 0%, 2%)
CIE-LABlab(69.12, 45.93, -44.51)
CIE-LCHlch(69.12, 63.96, 315.90°)
OKLaboklab(75.26% 0.1139 -0.1235)
OKLCHoklch(75.26% 0.168 312.7)
XYZxyz(53.4944, 39.5083, 95.2318)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CFA #B3FA8C
analogous
#9C8CFA #D38CFA #FA8CEA
triadic
#D38CFA #FAD38C #8CFAD3
tetradic
#D38CFA #FA9C8C #B3FA8C #8CEAFA
square
#D38CFA #FA9C8C #B3FA8C #8CEAFA
split-complementary
#D38CFA #EAFA8C #8CFA9C
monochromatic
#A617F5 #BD51F7 #D38CFA #E9C7FD #F4E2FE

Accessibility & contrast

On white

2.36
#D38CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D38CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CFA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CFA#FFFFFF#000000##000000
##D38CFA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#CF9CB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d38cfa;
/* rgb */ color: rgb(211, 140, 250);
/* oklch */ color: oklch(75.3% 0.168 312.7);
Tailwind
colors: {
  custom: {
    50: '#e2affc',
    500: '#d38cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d38cfa;
$custom-light: #e2affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cfa",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 278.727,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.16801,
    "h": 312.7
  },
  "luminance": 0.39507
}

Semantic roles & 50–950 ramp

primary
#D38CFA
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D38CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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