#D274F2#D274F2

#D274F2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.197 H 316.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D274F2
RGBrgb(210, 116, 242)
HSLhsl(285, 83%, 70%)
HSVhsv(285, 52%, 95%)
CMYKcmyk(13.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.84, 56.37, -48.43)
CIE-LCHlch(63.84, 74.32, 319.33°)
OKLaboklab(71.19% 0.1441 -0.1348)
OKLCHoklch(71.19% 0.197 316.9)
XYZxyz(48.8484, 32.6049, 87.7074)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274F2 #94F274
analogous
#9374F2 #D274F2 #F274D3
triadic
#D274F2 #F2D274 #74F2D2
tetradic
#D274F2 #F29374 #94F274 #74D3F2
square
#D274F2 #F29374 #94F274 #74D3F2
split-complementary
#D274F2 #D3F274 #74F293
monochromatic
#A614D7 #C03CED #D274F2 #E4ACF7 #F6E3FC

Accessibility & contrast

On white

2.79
#D274F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D274F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274F2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274F2#FFFFFF#000000##000000
##D274F21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#D187A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d274f2;
/* rgb */ color: rgb(210, 116, 242);
/* oklch */ color: oklch(71.2% 0.197 316.9);
Tailwind
colors: {
  custom: {
    50: '#e29ff7',
    500: '#d274f2',
    950: '#000000',
  },
}
SCSS
$custom: #d274f2;
$custom-light: #e29ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d274f2",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 284.762,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.19728,
    "h": 316.9
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#D274F2
secondary
#D8F2CF
accent
#DF063D
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274F2

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

Preview Lab → · Contrast checker → · Palette generator →

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