#D38FFB#D38FFB

#D38FFB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.8% C 0.164 H 312.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D38FFB
RGBrgb(211, 143, 251)
HSLhsl(278, 93%, 77%)
HSVhsv(278, 43%, 98%)
CMYKcmyk(15.9%, 43%, 0%, 1.6%)
CIE-LABlab(69.80, 44.55, -43.99)
CIE-LCHlch(69.80, 62.61, 315.36°)
OKLaboklab(75.78% 0.1099 -0.122)
OKLCHoklch(75.78% 0.164 312)
XYZxyz(54.0960, 40.4599, 96.2079)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FFB #B7FB8F
analogous
#9D8FFB #D38FFB #FB8FED
triadic
#D38FFB #FBD38F #8FFBD3
tetradic
#D38FFB #FB9D8F #B7FB8F #8FEDFB
square
#D38FFB #FB9D8F #B7FB8F #8FEDFB
split-complementary
#D38FFB #EDFB8F #8FFB9D
monochromatic
#A519F7 #BC54F9 #D38FFB #EACAFD #F3E1FE

Accessibility & contrast

On white

2.31
#D38FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#D38FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38FFB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38FFB#FFFFFF#000000##000000
##D38FFB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#CF9FB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38ffb;
/* rgb */ color: rgb(211, 143, 251);
/* oklch */ color: oklch(75.8% 0.164 312.0);
Tailwind
colors: {
  custom: {
    50: '#e2b1fd',
    500: '#d38ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d38ffb;
$custom-light: #e2b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ffb",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 277.778,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75778,
    "c": 0.16423,
    "h": 312
  },
  "luminance": 0.40459
}

Semantic roles & 50–950 ramp

primary
#D38FFB
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D38FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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