#D274F7#D274F7

#D274F7 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.5% C 0.202 H 315.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D274F7
RGBrgb(210, 116, 247)
HSLhsl(283, 89%, 71%)
HSVhsv(283, 53%, 97%)
CMYKcmyk(15%, 53%, 0%, 3.1%)
CIE-LABlab(64.09, 57.37, -50.80)
CIE-LCHlch(64.09, 76.63, 318.47°)
OKLaboklab(71.45% 0.1445 -0.1417)
OKLCHoklch(71.45% 0.202 315.6)
XYZxyz(49.6096, 32.9094, 91.7165)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274F7 #99F774
analogous
#9074F7 #D274F7 #F774DB
triadic
#D274F7 #F7D274 #74F7D2
tetradic
#D274F7 #F79074 #99F774 #74DBF7
square
#D274F7 #F79074 #99F774 #74DBF7
split-complementary
#D274F7 #DBF774 #74F790
monochromatic
#A70DE4 #BF3AF4 #D274F7 #E5AEFA #F6E2FD

Accessibility & contrast

On white

2.77
#D274F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D274F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274F7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274F7#FFFFFF#000000##000000
##D274F71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#D089AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d274f7;
/* rgb */ color: rgb(210, 116, 247);
/* oklch */ color: oklch(71.5% 0.202 315.6);
Tailwind
colors: {
  custom: {
    50: '#e29ffa',
    500: '#d274f7',
    950: '#000000',
  },
}
SCSS
$custom: #d274f7;
$custom-light: #e29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d274f7",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 283.053,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.20235,
    "h": 315.6
  },
  "luminance": 0.32908
}

Semantic roles & 50–950 ramp

primary
#D274F7
secondary
#DCF5D2
accent
#E60041
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274F7

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

Preview Lab → · Contrast checker → · Palette generator →

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