#D38BF2#D38BF2

#D38BF2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.7% C 0.161 H 315.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D38BF2
RGBrgb(211, 139, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 43%, 95%)
CMYKcmyk(12.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(68.55, 44.81, -41.02)
CIE-LCHlch(68.55, 60.75, 317.53°)
OKLaboklab(74.72% 0.1139 -0.1135)
OKLCHoklch(74.72% 0.161 315.1)
XYZxyz(52.1211, 38.7262, 88.7165)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38BF2 #AAF28B
analogous
#A08BF2 #D38BF2 #F28BDD
triadic
#D38BF2 #F2D38B #8BF2D3
tetradic
#D38BF2 #F2A08B #AAF28B #8BDDF2
square
#D38BF2 #F2A08B #AAF28B #8BDDF2
split-complementary
#D38BF2 #DDF28B #8BF2A0
monochromatic
#A91DE6 #BE54EC #D38BF2 #E8C2F8 #F5E3FC

Accessibility & contrast

On white

2.40
#D38BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D38BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38BF2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38BF2#FFFFFF#000000##000000
##D38BF21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#D199B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d38bf2;
/* rgb */ color: rgb(211, 139, 242);
/* oklch */ color: oklch(74.7% 0.161 315.1);
Tailwind
colors: {
  custom: {
    50: '#e2aef6',
    500: '#d38bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d38bf2;
$custom-light: #e2aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#d38bf2",
  "rgb": {
    "r": 211,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 281.942,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74716,
    "c": 0.16079,
    "h": 315.1
  },
  "luminance": 0.38725
}

Semantic roles & 50–950 ramp

primary
#D38BF2
secondary
#E0F4D7
accent
#DC0949
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D38BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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