#DA97FC#DA97FC

#DA97FC is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.8% C 0.155 H 313.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DA97FC
RGBrgb(218, 151, 252)
HSLhsl(280, 94%, 79%)
HSVhsv(280, 40%, 99%)
CMYKcmyk(13.5%, 40.1%, 0%, 1.2%)
CIE-LABlab(72.27, 42.50, -40.61)
CIE-LCHlch(72.27, 58.78, 316.30°)
OKLaboklab(77.82% 0.107 -0.1122)
OKLCHoklch(77.82% 0.155 313.6)
XYZxyz(57.5479, 44.0681, 97.5510)
Luminance0.4407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FC #B9FC97
analogous
#A897FC #DA97FC #FC97EC
triadic
#DA97FC #FCDA97 #97FCDA
tetradic
#DA97FC #FCA897 #B9FC97 #97ECFC
square
#DA97FC #FCA897 #B9FC97 #97ECFC
split-complementary
#DA97FC #ECFC97 #97FCA8
monochromatic
#B020F9 #C55CFA #DA97FC #EFD2FE #F4E1FE

Accessibility & contrast

On white

2.14
#DA97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DA97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FC
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FC#FFFFFF#000000##000000
##DA97FC1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#D7A5BE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da97fc;
/* rgb */ color: rgb(218, 151, 252);
/* oklch */ color: oklch(77.8% 0.155 313.6);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#da97fc',
    950: '#000000',
  },
}
SCSS
$custom: #da97fc;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da97fc",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 279.802,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77818,
    "c": 0.15506,
    "h": 313.6
  },
  "luminance": 0.44067
}

Semantic roles & 50–950 ramp

primary
#DA97FC
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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