#D38FFE#D38FFE

#D38FFE is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.9% C 0.168 H 311.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D38FFE
RGBrgb(211, 143, 254)
HSLhsl(277, 98%, 78%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(16.9%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.93, 45.18, -45.42)
CIE-LCHlch(69.93, 64.06, 314.85°)
OKLaboklab(75.92% 0.1104 -0.1262)
OKLCHoklch(75.92% 0.168 311.2)
XYZxyz(54.5726, 40.6505, 98.7182)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FFE #BAFE8F
analogous
#9B8FFE #D38FFE #FE8FF1
triadic
#D38FFE #FED38F #8FFED3
tetradic
#D38FFE #FE9B8F #BAFE8F #8FF1FE
square
#D38FFE #FE9B8F #BAFE8F #8FF1FE
split-complementary
#D38FFE #F1FE8F #8FFE9B
monochromatic
#A316FD #BB52FD #D38FFE #EBCCFF #F3E1FF

Accessibility & contrast

On white

2.30
#D38FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D38FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38FFE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38FFE#FFFFFF#000000##000000
##D38FFE1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#CEA0BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d38ffe;
/* rgb */ color: rgb(211, 143, 254);
/* oklch */ color: oklch(75.9% 0.168 311.2);
Tailwind
colors: {
  custom: {
    50: '#e2b1ff',
    500: '#d38ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d38ffe;
$custom-light: #e2b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ffe",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 276.757,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75923,
    "c": 0.16764,
    "h": 311.2
  },
  "luminance": 0.4065
}

Semantic roles & 50–950 ramp

primary
#D38FFE
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D38FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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