#D28FF7#D28FF7

#D28FF7 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.5% C 0.159 H 312.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D28FF7
RGBrgb(210, 143, 247)
HSLhsl(279, 87%, 76%)
HSVhsv(279, 42%, 97%)
CMYKcmyk(15%, 42.1%, 0%, 3.1%)
CIE-LABlab(69.51, 43.43, -42.26)
CIE-LCHlch(69.51, 60.60, 315.78°)
OKLaboklab(75.49% 0.1081 -0.1171)
OKLCHoklch(75.49% 0.159 312.7)
XYZxyz(53.1865, 40.0630, 92.9088)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FF7 #B4F78F
analogous
#9E8FF7 #D28FF7 #F78FE8
triadic
#D28FF7 #F7D28F #8FF7D2
tetradic
#D28FF7 #F79E8F #B4F78F #8FE8F7
square
#D28FF7 #F79E8F #B4F78F #8FE8F7
split-complementary
#D28FF7 #E8F78F #8FF79E
monochromatic
#A41DEF #BB56F3 #D28FF7 #E9C8FB #F4E2FD

Accessibility & contrast

On white

2.33
#D28FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#D28FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FF7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FF7#FFFFFF#000000##000000
##D28FF71.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#CF9EB7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d28ff7;
/* rgb */ color: rgb(210, 143, 247);
/* oklch */ color: oklch(75.5% 0.159 312.7);
Tailwind
colors: {
  custom: {
    50: '#e1b1fa',
    500: '#d28ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d28ff7;
$custom-light: #e1b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ff7",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 278.654,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75485,
    "c": 0.15931,
    "h": 312.7
  },
  "luminance": 0.40062
}

Semantic roles & 50–950 ramp

primary
#D28FF7
secondary
#E1F5D6
accent
#E30252
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D28FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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