#DA7CFC#DA7CFC

#DA7CFC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.199 H 316.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DA7CFC
RGBrgb(218, 124, 252)
HSLhsl(284, 96%, 74%)
HSVhsv(284, 51%, 99%)
CMYKcmyk(13.5%, 50.8%, 0%, 1.2%)
CIE-LABlab(66.79, 56.48, -49.22)
CIE-LCHlch(66.79, 74.92, 318.93°)
OKLaboklab(73.72% 0.1438 -0.1369)
OKLCHoklch(73.72% 0.199 316.4)
XYZxyz(53.6892, 36.3507, 96.2648)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7CFC #9EFC7C
analogous
#9A7CFC #DA7CFC #FC7CDE
triadic
#DA7CFC #FCDA7C #7CFCDA
tetradic
#DA7CFC #FC9A7C #9EFC7C #7CDEFC
square
#DA7CFC #FC9A7C #9EFC7C #7CDEFC
split-complementary
#DA7CFC #DEFC7C #7CFC9A
monochromatic
#B806F8 #C940FB #DA7CFC #EBB8FD #F7E1FE

Accessibility & contrast

On white

2.54
#DA7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DA7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7CFC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7CFC#FFFFFF#000000##000000
##DA7CFC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#D98FB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7cfc;
/* rgb */ color: rgb(218, 124, 252);
/* oklch */ color: oklch(73.7% 0.199 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8a5fe',
    500: '#da7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #da7cfc;
$custom-light: #e8a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da7cfc",
  "rgb": {
    "r": 218,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 284.063,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73725,
    "c": 0.19859,
    "h": 316.4
  },
  "luminance": 0.36349
}

Semantic roles & 50–950 ramp

primary
#DA7CFC
secondary
#DEF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DA7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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