#D274FB#D274FB

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

Color values

HEX#D274FB
RGBrgb(210, 116, 251)
HSLhsl(282, 94%, 72%)
HSVhsv(282, 54%, 98%)
CMYKcmyk(16.3%, 53.8%, 0%, 1.6%)
CIE-LABlab(64.29, 58.18, -52.68)
CIE-LCHlch(64.29, 78.49, 317.84°)
OKLaboklab(71.66% 0.1448 -0.1471)
OKLCHoklch(71.66% 0.206 314.5)
XYZxyz(50.2335, 33.1589, 95.0022)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274FB #9DFB74
analogous
#8F74FB #D274FB #FB74E0
triadic
#D274FB #FBD274 #74FBD2
tetradic
#D274FB #FB8F74 #9DFB74 #74E0FB
square
#D274FB #FB8F74 #9DFB74 #74E0FB
split-complementary
#D274FB #E0FB74 #74FB8F
monochromatic
#A807EE #BF39F9 #D274FB #E5AFFD #F5E1FE

Accessibility & contrast

On white

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

On black

7.63
#D274FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274FB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274FB#FFFFFF#000000##000000
##D274FB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#729EF8
Tritanopia (blue-blind)
#CF8AAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d274fb;
/* rgb */ color: rgb(210, 116, 251);
/* oklch */ color: oklch(71.7% 0.206 314.5);
Tailwind
colors: {
  custom: {
    50: '#e29ffd',
    500: '#d274fb',
    950: '#000000',
  },
}
SCSS
$custom: #d274fb;
$custom-light: #e29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#d274fb",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 281.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71664,
    "c": 0.20643,
    "h": 314.5
  },
  "luminance": 0.33157
}

Semantic roles & 50–950 ramp

primary
#D274FB
secondary
#DFF6D4
accent
#E60046
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D274FB

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

Preview Lab → · Contrast checker → · Palette generator →

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