#D38CF2#D38CF2

#D38CF2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.9% C 0.159 H 315.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#D38CF2
RGBrgb(211, 140, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 42%, 95%)
CMYKcmyk(12.8%, 42.1%, 0%, 5.1%)
CIE-LABlab(68.76, 44.28, -40.69)
CIE-LCHlch(68.76, 60.13, 317.42°)
OKLaboklab(74.87% 0.1125 -0.1125)
OKLCHoklch(74.87% 0.159 315)
XYZxyz(52.2666, 39.0171, 88.7649)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CF2 #ABF28C
analogous
#A08CF2 #D38CF2 #F28CDE
triadic
#D38CF2 #F2D38C #8CF2D3
tetradic
#D38CF2 #F2A08C #ABF28C #8CDEF2
square
#D38CF2 #F2A08C #ABF28C #8CDEF2
split-complementary
#D38CF2 #DEF28C #8CF2A0
monochromatic
#A91EE6 #BE55EC #D38CF2 #E8C3F8 #F4E4FC

Accessibility & contrast

On white

2.39
#D38CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#D38CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CF2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CF2#FFFFFF#000000##000000
##D38CF21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#D19AB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38cf2;
/* rgb */ color: rgb(211, 140, 242);
/* oklch */ color: oklch(74.9% 0.159 315.0);
Tailwind
colors: {
  custom: {
    50: '#e2aff6',
    500: '#d38cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d38cf2;
$custom-light: #e2aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cf2",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 281.765,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74874,
    "c": 0.15913,
    "h": 315
  },
  "luminance": 0.39016
}

Semantic roles & 50–950 ramp

primary
#D38CF2
secondary
#E0F4D7
accent
#DC0A49
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#151017
muted
#847F85

Preview Lab

Preview with #D38CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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