#D38FF7#D38FF7

#D38FF7 is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.6% C 0.160 H 313.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D38FF7
RGBrgb(211, 143, 247)
HSLhsl(279, 87%, 76%)
HSVhsv(279, 42%, 97%)
CMYKcmyk(14.6%, 42.1%, 0%, 3.1%)
CIE-LABlab(69.62, 43.71, -42.09)
CIE-LCHlch(69.62, 60.68, 316.09°)
OKLaboklab(75.59% 0.1092 -0.1166)
OKLCHoklch(75.59% 0.16 313.1)
XYZxyz(53.4721, 40.2103, 92.9222)
Luminance0.4021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FF7 #B3F78F
analogous
#9F8FF7 #D38FF7 #F78FE7
triadic
#D38FF7 #F7D38F #8FF7D3
tetradic
#D38FF7 #F79F8F #B3F78F #8FE7F7
square
#D38FF7 #F79F8F #B3F78F #8FE7F7
split-complementary
#D38FF7 #E7F78F #8FF79F
monochromatic
#A61DEF #BD56F3 #D38FF7 #E9C8FB #F4E2FD

Accessibility & contrast

On white

2.32
#D38FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D38FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38FF7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38FF7#FFFFFF#000000##000000
##D38FF71.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FB
Deuteranopia (green-blind)
#8CACF4
Tritanopia (blue-blind)
#D09EB7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38ff7;
/* rgb */ color: rgb(211, 143, 247);
/* oklch */ color: oklch(75.6% 0.160 313.1);
Tailwind
colors: {
  custom: {
    50: '#e2b1fa',
    500: '#d38ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d38ff7;
$custom-light: #e2b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ff7",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 279.231,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.15973,
    "h": 313.1
  },
  "luminance": 0.40209
}

Semantic roles & 50–950 ramp

primary
#D38FF7
secondary
#E1F5D6
accent
#E30250
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D38FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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