#D274DB#D274DB

#D274DB is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.175 H 323.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D274DB
RGBrgb(210, 116, 219)
HSLhsl(295, 59%, 66%)
HSVhsv(295, 47%, 86%)
CMYKcmyk(4.1%, 47%, 0%, 14.1%)
CIE-LABlab(62.77, 51.93, -37.34)
CIE-LCHlch(62.77, 63.96, 324.29°)
OKLaboklab(70.04% 0.1411 -0.1027)
OKLCHoklch(70.04% 0.175 323.9)
XYZxyz(45.6087, 31.3090, 70.6449)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274DB #7DDB74
analogous
#9E74DB #D274DB #DB74B0
triadic
#D274DB #DBD274 #74DBD2
tetradic
#D274DB #DB9E74 #7DDB74 #74B0DB
square
#D274DB #DB9E74 #7DDB74 #74B0DB
split-complementary
#D274DB #B0DB74 #74DB9E
monochromatic
#9E2CA9 #C243CE #D274DB #E2A5E8 #F1D5F4

Accessibility & contrast

On white

2.89
#D274DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D274DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274DB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274DB#FFFFFF#000000##000000
##D274DB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DF
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#D6809D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d274db;
/* rgb */ color: rgb(210, 116, 219);
/* oklch */ color: oklch(70.0% 0.175 323.9);
Tailwind
colors: {
  custom: {
    50: '#e29fe6',
    500: '#d274db',
    950: '#000000',
  },
}
SCSS
$custom: #d274db;
$custom-light: #e29fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d274db",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 294.757,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.17456,
    "h": 323.9
  },
  "luminance": 0.31307
}

Semantic roles & 50–950 ramp

primary
#D274DB
secondary
#C7E7C4
accent
#C61F2E
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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