#D38FF2#D38FF2

#D38FF2 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.4% C 0.154 H 314.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D38FF2
RGBrgb(211, 143, 242)
HSLhsl(281, 79%, 75%)
HSVhsv(281, 41%, 95%)
CMYKcmyk(12.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(69.40, 42.68, -39.69)
CIE-LCHlch(69.40, 58.28, 317.08°)
OKLaboklab(75.35% 0.1083 -0.1097)
OKLCHoklch(75.35% 0.154 314.6)
XYZxyz(52.7109, 39.9058, 88.9131)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FF2 #AEF28F
analogous
#A18FF2 #D38FF2 #F28FDF
triadic
#D38FF2 #F2D38F #8FF2D3
tetradic
#D38FF2 #F2A18F #AEF28F #8FDFF2
square
#D38FF2 #F2A18F #AEF28F #8FDFF2
split-complementary
#D38FF2 #DFF28F #8FF2A1
monochromatic
#A821E5 #BD58EC #D38FF2 #E9C6F8 #F4E4FC

Accessibility & contrast

On white

2.34
#D38FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D38FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38FF2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38FF2#FFFFFF#000000##000000
##D38FF21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#D19DB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d38ff2;
/* rgb */ color: rgb(211, 143, 242);
/* oklch */ color: oklch(75.4% 0.154 314.6);
Tailwind
colors: {
  custom: {
    50: '#e2b1f6',
    500: '#d38ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d38ff2;
$custom-light: #e2b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ff2",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 281.212,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75354,
    "c": 0.15413,
    "h": 314.6
  },
  "luminance": 0.39905
}

Semantic roles & 50–950 ramp

primary
#D38FF2
secondary
#E0F4D7
accent
#DB0A4C
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#151117
muted
#848085

Preview Lab

Preview with #D38FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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