#DA7FFC#DA7FFC

#DA7FFC is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.194 H 316.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DA7FFC
RGBrgb(218, 127, 252)
HSLhsl(284, 95%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.5%, 49.6%, 0%, 1.2%)
CIE-LABlab(67.36, 54.98, -48.31)
CIE-LCHlch(67.36, 73.19, 318.69°)
OKLaboklab(74.15% 0.1399 -0.1343)
OKLCHoklch(74.15% 0.194 316.2)
XYZxyz(54.0709, 37.1141, 96.3920)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FFC #A1FC7F
analogous
#9C7FFC #DA7FFC #FC7FE0
triadic
#DA7FFC #FCDA7F #7FFCDA
tetradic
#DA7FFC #FC9C7F #A1FC7F #7FE0FC
square
#DA7FFC #FC9C7F #A1FC7F #7FE0FC
split-complementary
#DA7FFC #E0FC7F #7FFC9C
monochromatic
#B707F9 #C943FB #DA7FFC #EBBBFD #F6E1FE

Accessibility & contrast

On white

2.49
#DA7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#DA7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FFC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FFC#FFFFFF#000000##000000
##DA7FFC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#D892B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #da7ffc;
/* rgb */ color: rgb(218, 127, 252);
/* oklch */ color: oklch(74.2% 0.194 316.2);
Tailwind
colors: {
  custom: {
    50: '#e8a7fe',
    500: '#da7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #da7ffc;
$custom-light: #e8a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da7ffc",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 283.68,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74151,
    "c": 0.19392,
    "h": 316.2
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

primary
#DA7FFC
secondary
#DEF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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