#D262CF#D262CF

#D262CF is a light, vivid purple. Relative luminance 0.269; OKLCH L 67.0% C 0.192 H 328.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#D262CF
RGBrgb(210, 98, 207)
HSLhsl(302, 55%, 60%)
HSVhsv(302, 53%, 82%)
CMYKcmyk(0%, 53.3%, 1.4%, 17.6%)
CIE-LABlab(58.92, 58.52, -36.59)
CIE-LCHlch(58.92, 69.02, 327.98°)
OKLaboklab(67.03% 0.1638 -0.1004)
OKLCHoklch(67.03% 0.192 328.5)
XYZxyz(42.2080, 26.9446, 61.9970)
Luminance0.2694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262CF #62D265
analogous
#9D62D2 #D262CF #D26297
triadic
#D262CF #CFD262 #62CFD2
tetradic
#D262CF #D29D62 #62D265 #6297D2
square
#D262CF #D29D62 #62D265 #6297D2
split-complementary
#D262CF #97D262 #62D29D
monochromatic
#90298D #C037BC #D262CF #E092DE #EDC1EC

Accessibility & contrast

On white

3.29
#D262CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D262CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262CF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262CF#FFFFFF#000000##000000
##D262CF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D3
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#D86E90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d262cf;
/* rgb */ color: rgb(210, 98, 207);
/* oklch */ color: oklch(67.0% 0.192 328.5);
Tailwind
colors: {
  custom: {
    50: '#e294de',
    500: '#d262cf',
    950: '#000000',
  },
}
SCSS
$custom: #d262cf;
$custom-light: #e294de;
$custom-dark: #000000;
JSON
{
  "hex": "#d262cf",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 301.607,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.19216,
    "h": 328.5
  },
  "luminance": 0.26942
}

Semantic roles & 50–950 ramp

primary
#D262CF
secondary
#B3DDB4
accent
#C32723
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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