#DA38E2#DA38E2

#DA38E2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 65.0% C 0.263 H 326.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#DA38E2
RGBrgb(218, 56, 226)
HSLhsl(297, 75%, 55%)
HSVhsv(297, 75%, 89%)
CMYKcmyk(3.5%, 75.2%, 0%, 11.4%)
CIE-LABlab(55.31, 79.59, -52.98)
CIE-LCHlch(55.31, 95.61, 326.35°)
OKLaboklab(64.96% 0.2184 -0.1474)
OKLCHoklch(64.96% 0.263 326)
XYZxyz(44.0542, 23.2278, 74.0998)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA38E2 #40E238
analogous
#8538E2 #DA38E2 #E23895
triadic
#DA38E2 #E2DA38 #38E2DA
tetradic
#DA38E2 #E28538 #40E238 #3895E2
square
#DA38E2 #E28538 #40E238 #3895E2
split-complementary
#DA38E2 #95E238 #38E285
monochromatic
#86148B #B91CC1 #DA38E2 #E46DEA #EEA3F2

Accessibility & contrast

On white

3.72
#DA38E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#DA38E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA38E2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA38E2#FFFFFF#000000##000000
##DA38E21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#DF568C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #da38e2;
/* rgb */ color: rgb(218, 56, 226);
/* oklch */ color: oklch(65.0% 0.263 326.0);
Tailwind
colors: {
  custom: {
    50: '#ea80ec',
    500: '#da38e2',
    950: '#000000',
  },
}
SCSS
$custom: #da38e2;
$custom-light: #ea80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#da38e2",
  "rgb": {
    "r": 218,
    "g": 56,
    "b": 226
  },
  "hsl": {
    "h": 297.176,
    "s": 74.561,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64956,
    "c": 0.26346,
    "h": 326
  },
  "luminance": 0.23225
}

Semantic roles & 50–950 ramp

primary
#DA38E2
secondary
#9BDE97
accent
#F1373F
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DA38E2

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

Preview Lab → · Contrast checker → · Palette generator →

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