#D765F2#D765F2

#D765F2 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.222 H 319.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D765F2
RGBrgb(215, 101, 242)
HSLhsl(289, 84%, 67%)
HSVhsv(289, 58%, 95%)
CMYKcmyk(11.2%, 58.3%, 0%, 5.1%)
CIE-LABlab(61.80, 64.77, -51.63)
CIE-LCHlch(61.80, 82.83, 321.44°)
OKLaboklab(69.82% 0.1688 -0.1438)
OKLCHoklch(69.82% 0.222 319.6)
XYZxyz(48.7030, 30.1674, 87.2446)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D765F2 #80F265
analogous
#9165F2 #D765F2 #F265C6
triadic
#D765F2 #F2D765 #65F2D7
tetradic
#D765F2 #F29165 #80F265 #65C6F2
square
#D765F2 #F29165 #80F265 #65C6F2
split-complementary
#D765F2 #C6F265 #65F291
monochromatic
#A811CB #C82DED #D765F2 #E69DF7 #F4D6FC

Accessibility & contrast

On white

2.99
#D765F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D765F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D765F2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D765F2#FFFFFF#000000##000000
##D765F21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#D87BA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d765f2;
/* rgb */ color: rgb(215, 101, 242);
/* oklch */ color: oklch(69.8% 0.222 319.6);
Tailwind
colors: {
  custom: {
    50: '#e697f7',
    500: '#d765f2',
    950: '#000000',
  },
}
SCSS
$custom: #d765f2;
$custom-light: #e697f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d765f2",
  "rgb": {
    "r": 215,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 288.511,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.22178,
    "h": 319.6
  },
  "luminance": 0.30165
}

Semantic roles & 50–950 ramp

primary
#D765F2
secondary
#CCF0C3
accent
#E1052F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D765F2

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

Preview Lab → · Contrast checker → · Palette generator →

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