#D274FC#D274FC

#D274FC is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.7% C 0.207 H 314.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D274FC
RGBrgb(210, 116, 252)
HSLhsl(281, 96%, 72%)
HSVhsv(281, 54%, 99%)
CMYKcmyk(16.7%, 54%, 0%, 1.2%)
CIE-LABlab(64.34, 58.38, -53.15)
CIE-LCHlch(64.34, 78.95, 317.69°)
OKLaboklab(71.72% 0.1449 -0.1485)
OKLCHoklch(71.72% 0.207 314.3)
XYZxyz(50.3916, 33.2221, 95.8346)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274FC #9EFC74
analogous
#8E74FC #D274FC #FC74E2
triadic
#D274FC #FCD274 #74FCD2
tetradic
#D274FC #FC8E74 #9EFC74 #74E2FC
square
#D274FC #FC8E74 #9EFC74 #74E2FC
split-complementary
#D274FC #E2FC74 #74FC8E
monochromatic
#A805F0 #BF38FB #D274FC #E5B0FD #F5E1FE

Accessibility & contrast

On white

2.75
#D274FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D274FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274FC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274FC#FFFFFF#000000##000000
##D274FC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#719EF9
Tritanopia (blue-blind)
#CF8AAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d274fc;
/* rgb */ color: rgb(210, 116, 252);
/* oklch */ color: oklch(71.7% 0.207 314.3);
Tailwind
colors: {
  custom: {
    50: '#e39ffe',
    500: '#d274fc',
    950: '#000000',
  },
}
SCSS
$custom: #d274fc;
$custom-light: #e39ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d274fc",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 281.471,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.20745,
    "h": 314.3
  },
  "luminance": 0.33221
}

Semantic roles & 50–950 ramp

primary
#D274FC
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D274FC

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

Preview Lab → · Contrast checker → · Palette generator →

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