#DA7FFB#DA7FFB

#DA7FFB is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.193 H 316.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DA7FFB
RGBrgb(218, 127, 251)
HSLhsl(284, 94%, 74%)
HSVhsv(284, 49%, 98%)
CMYKcmyk(13.1%, 49.4%, 0%, 1.6%)
CIE-LABlab(67.32, 54.78, -47.84)
CIE-LCHlch(67.32, 72.72, 318.87°)
OKLaboklab(74.1% 0.1398 -0.1329)
OKLCHoklch(74.1% 0.193 316.4)
XYZxyz(53.9128, 37.0509, 95.5597)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FFB #A0FB7F
analogous
#9C7FFB #DA7FFB #FB7FDE
triadic
#DA7FFB #FBDA7F #7FFBDA
tetradic
#DA7FFB #FB9C7F #A0FB7F #7FDEFB
square
#DA7FFB #FB9C7F #A0FB7F #7FDEFB
split-complementary
#DA7FFB #DEFB7F #7FFB9C
monochromatic
#B808F7 #C944F9 #DA7FFB #EBBAFD #F6E1FE

Accessibility & contrast

On white

2.50
#DA7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#DA7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FFB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FFB#FFFFFF#000000##000000
##DA7FFB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#D991B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #da7ffb;
/* rgb */ color: rgb(218, 127, 251);
/* oklch */ color: oklch(74.1% 0.193 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8a7fd',
    500: '#da7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #da7ffb;
$custom-light: #e8a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da7ffb",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 284.032,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.741,
    "c": 0.19289,
    "h": 316.4
  },
  "luminance": 0.37049
}

Semantic roles & 50–950 ramp

primary
#DA7FFB
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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