#D338C5#D338C5

#D338C5 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.3% C 0.239 H 332.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D338C5
RGBrgb(211, 56, 197)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 73%, 83%)
CMYKcmyk(0%, 73.5%, 6.6%, 17.3%)
CIE-LABlab(52.63, 73.66, -40.75)
CIE-LCHlch(52.63, 84.18, 331.05°)
OKLaboklab(62.33% 0.2114 -0.1121)
OKLCHoklch(62.33% 0.239 332.1)
XYZxyz(38.3563, 20.7116, 54.7901)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338C5 #38D346
analogous
#9338D3 #D338C5 #D33878
triadic
#D338C5 #C5D338 #38C5D3
tetradic
#D338C5 #D39338 #38D346 #3878D3
square
#D338C5 #D39338 #38D346 #3878D3
split-complementary
#D338C5 #78D338 #38D393
monochromatic
#761A6E #A9259D #D338C5 #DE6AD4 #E99CE2

Accessibility & contrast

On white

4.08
#D338C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D338C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338C5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338C5#FFFFFF#000000##000000
##D338C51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D70C9
Deuteranopia (green-blind)
#6B85C1
Tritanopia (blue-blind)
#DC4A7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d338c5;
/* rgb */ color: rgb(211, 56, 197);
/* oklch */ color: oklch(62.3% 0.239 332.1);
Tailwind
colors: {
  custom: {
    50: '#e57ed7',
    500: '#d338c5',
    950: '#000000',
  },
}
SCSS
$custom: #d338c5;
$custom-light: #e57ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#d338c5",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 305.419,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.23924,
    "h": 332.1
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#D338C5
secondary
#92D598
accent
#E75041
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D338C5

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

Preview Lab → · Contrast checker → · Palette generator →

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