#D274CB#D274CB

#D274CB is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.3% C 0.160 H 329.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D274CB
RGBrgb(210, 116, 203)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 44.8%, 3.3%, 17.6%)
CIE-LABlab(62.09, 49.03, -29.41)
CIE-LCHlch(62.09, 57.17, 329.05°)
OKLaboklab(69.32% 0.1382 -0.0801)
OKLCHoklch(69.32% 0.16 329.9)
XYZxyz(43.6027, 30.5066, 60.0800)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274CB #74D27B
analogous
#AA74D2 #D274CB #D2749C
triadic
#D274CB #CBD274 #74CBD2
tetradic
#D274CB #D2AA74 #74D27B #749CD2
square
#D274CB #D2AA74 #74D27B #749CD2
split-complementary
#D274CB #9CD274 #74D2AA
monochromatic
#9A3292 #C346BA #D274CB #E1A2DC #F0D0EE

Accessibility & contrast

On white

2.96
#D274CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D274CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274CB#FFFFFF#000000##000000
##D274CB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#D87C96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274cb;
/* rgb */ color: rgb(210, 116, 203);
/* oklch */ color: oklch(69.3% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#e29fdb',
    500: '#d274cb',
    950: '#000000',
  },
}
SCSS
$custom: #d274cb;
$custom-light: #e29fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d274cb",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 304.468,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69317,
    "c": 0.15971,
    "h": 329.9
  },
  "luminance": 0.30504
}

Semantic roles & 50–950 ramp

primary
#D274CB
secondary
#C0E1C3
accent
#BE3227
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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