#D274D8#D274D8

#D274D8 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.172 H 325.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D274D8
RGBrgb(210, 116, 216)
HSLhsl(296, 56%, 65%)
HSVhsv(296, 46%, 85%)
CMYKcmyk(2.8%, 46.3%, 0%, 15.3%)
CIE-LABlab(62.64, 51.38, -35.86)
CIE-LCHlch(62.64, 62.65, 325.08°)
OKLaboklab(69.9% 0.1406 -0.0985)
OKLCHoklch(69.9% 0.172 325)
XYZxyz(45.2173, 31.1524, 68.5837)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274D8 #7AD874
analogous
#A074D8 #D274D8 #D874AC
triadic
#D274D8 #D8D274 #74D8D2
tetradic
#D274D8 #D8A074 #7AD874 #74ACD8
square
#D274D8 #D8A074 #7AD874 #74ACD8
split-complementary
#D274D8 #ACD874 #74D8A0
monochromatic
#9D2EA4 #C344CB #D274D8 #E1A4E5 #F1D4F3

Accessibility & contrast

On white

2.90
#D274D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D274D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274D8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274D8#FFFFFF#000000##000000
##D274D81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6990DB
Deuteranopia (green-blind)
#849CD5
Tritanopia (blue-blind)
#D67F9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d274d8;
/* rgb */ color: rgb(210, 116, 216);
/* oklch */ color: oklch(69.9% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#e29fe4',
    500: '#d274d8',
    950: '#000000',
  },
}
SCSS
$custom: #d274d8;
$custom-light: #e29fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#d274d8",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 216
  },
  "hsl": {
    "h": 296.4,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69904,
    "c": 0.1717,
    "h": 325
  },
  "luminance": 0.3115
}

Semantic roles & 50–950 ramp

primary
#D274D8
secondary
#C5E5C3
accent
#C4222B
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F15
muted
#847F84

Preview Lab

Preview with #D274D8

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

Preview Lab → · Contrast checker → · Palette generator →

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