#D765FA#D765FA

#D765FA is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.3% C 0.229 H 317.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D765FA
RGBrgb(215, 101, 250)
HSLhsl(286, 94%, 69%)
HSVhsv(286, 60%, 98%)
CMYKcmyk(14%, 59.6%, 0%, 2%)
CIE-LABlab(62.22, 66.29, -55.38)
CIE-LCHlch(62.22, 86.38, 320.12°)
OKLaboklab(70.27% 0.1691 -0.1548)
OKLCHoklch(70.27% 0.229 317.5)
XYZxyz(49.9309, 30.6585, 93.7115)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D765FA #88FA65
analogous
#8D65FA #D765FA #FA65D3
triadic
#D765FA #FAD765 #65FAD7
tetradic
#D765FA #FA8D65 #88FA65 #65D3FA
square
#D765FA #FA8D65 #88FA65 #65D3FA
split-complementary
#D765FA #D3FA65 #65FA8D
monochromatic
#AB07DD #C82AF8 #D765FA #E6A0FC #F6DCFE

Accessibility & contrast

On white

2.94
#D765FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D765FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D765FA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D765FA#FFFFFF#000000##000000
##D765FA1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFF
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#D67EA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d765fa;
/* rgb */ color: rgb(215, 101, 250);
/* oklch */ color: oklch(70.3% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#e797fc',
    500: '#d765fa',
    950: '#000000',
  },
}
SCSS
$custom: #d765fa;
$custom-light: #e797fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d765fa",
  "rgb": {
    "r": 215,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 285.906,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70265,
    "c": 0.22923,
    "h": 317.5
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#D765FA
secondary
#D2F3C7
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D765FA

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

Preview Lab → · Contrast checker → · Palette generator →

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