#D273F2#D273F2

#D273F2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.199 H 317.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D273F2
RGBrgb(210, 115, 242)
HSLhsl(285, 83%, 70%)
HSVhsv(285, 52%, 95%)
CMYKcmyk(13.2%, 52.5%, 0%, 5.1%)
CIE-LABlab(63.65, 56.86, -48.73)
CIE-LCHlch(63.65, 74.89, 319.40°)
OKLaboklab(71.05% 0.1454 -0.1356)
OKLCHoklch(71.05% 0.199 317)
XYZxyz(48.7338, 32.3756, 87.6692)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273F2 #93F273
analogous
#9373F2 #D273F2 #F273D2
triadic
#D273F2 #F2D273 #73F2D2
tetradic
#D273F2 #F29373 #93F273 #73D2F2
square
#D273F2 #F29373 #93F273 #73D2F2
split-complementary
#D273F2 #D2F273 #73F293
monochromatic
#A614D7 #C03BED #D273F2 #E4ABF7 #F6E3FC

Accessibility & contrast

On white

2.81
#D273F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D273F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273F2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273F2#FFFFFF#000000##000000
##D273F21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D186A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d273f2;
/* rgb */ color: rgb(210, 115, 242);
/* oklch */ color: oklch(71.0% 0.199 317.0);
Tailwind
colors: {
  custom: {
    50: '#e29ff7',
    500: '#d273f2',
    950: '#000000',
  },
}
SCSS
$custom: #d273f2;
$custom-light: #e29ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d273f2",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 284.882,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.19882,
    "h": 317
  },
  "luminance": 0.32374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D273F2

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

Preview Lab → · Contrast checker → · Palette generator →

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