#D27BFB#D27BFB

#D27BFB is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.196 H 313.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D27BFB
RGBrgb(210, 123, 251)
HSLhsl(281, 94%, 73%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(16.3%, 51%, 0%, 1.6%)
CIE-LABlab(65.62, 54.68, -50.58)
CIE-LCHlch(65.62, 74.49, 317.23°)
OKLaboklab(72.64% 0.1357 -0.141)
OKLCHoklch(72.64% 0.196 313.9)
XYZxyz(51.0710, 34.8339, 95.2814)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27BFB #A4FB7B
analogous
#927BFB #D27BFB #FB7BE4
triadic
#D27BFB #FBD27B #7BFBD2
tetradic
#D27BFB #FB927B #A4FB7B #7BE4FB
square
#D27BFB #FB927B #A4FB7B #7BE4FB
split-complementary
#D27BFB #E4FB7B #7BFB92
monochromatic
#A807F4 #BE40F9 #D27BFB #E6B6FD #F5E1FE

Accessibility & contrast

On white

2.64
#D27BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D27BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27BFB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27BFB#FFFFFF#000000##000000
##D27BFB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#CF8FB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27bfb;
/* rgb */ color: rgb(210, 123, 251);
/* oklch */ color: oklch(72.6% 0.196 313.9);
Tailwind
colors: {
  custom: {
    50: '#e2a4fd',
    500: '#d27bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d27bfb;
$custom-light: #e2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27bfb",
  "rgb": {
    "r": 210,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 280.781,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.19574,
    "h": 313.9
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#D27BFB
secondary
#DFF6D5
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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