#DB70F2#DB70F2

#DB70F2 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.7% C 0.208 H 320.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#DB70F2
RGBrgb(219, 112, 242)
HSLhsl(289, 83%, 69%)
HSVhsv(289, 54%, 95%)
CMYKcmyk(9.5%, 53.7%, 0%, 5.1%)
CIE-LABlab(64.21, 60.65, -47.78)
CIE-LCHlch(64.21, 77.21, 321.77°)
OKLaboklab(71.7% 0.1596 -0.1326)
OKLCHoklch(71.7% 0.208 320.3)
XYZxyz(51.0327, 33.0614, 87.6805)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB70F2 #87F270
analogous
#9A70F2 #DB70F2 #F270C8
triadic
#DB70F2 #F2DB70 #70F2DB
tetradic
#DB70F2 #F29A70 #87F270 #70C8F2
square
#DB70F2 #F29A70 #87F270 #70C8F2
split-complementary
#DB70F2 #C8F270 #70F29A
monochromatic
#B213D4 #CD38ED #DB70F2 #E9A8F7 #F7E0FC

Accessibility & contrast

On white

2.76
#DB70F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#DB70F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB70F2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB70F2#FFFFFF#000000##000000
##DB70F21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#DC83A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db70f2;
/* rgb */ color: rgb(219, 112, 242);
/* oklch */ color: oklch(71.7% 0.208 320.3);
Tailwind
colors: {
  custom: {
    50: '#e99df7',
    500: '#db70f2',
    950: '#000000',
  },
}
SCSS
$custom: #db70f2;
$custom-light: #e99df7;
$custom-dark: #000000;
JSON
{
  "hex": "#db70f2",
  "rgb": {
    "r": 219,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 289.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71696,
    "c": 0.20755,
    "h": 320.3
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#DB70F2
secondary
#D3F2CC
accent
#E0062C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #DB70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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