#D275E7#D275E7

#D275E7 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.185 H 320.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D275E7
RGBrgb(210, 117, 231)
HSLhsl(289, 70%, 68%)
HSVhsv(289, 49%, 91%)
CMYKcmyk(9.1%, 49.4%, 0%, 9.4%)
CIE-LABlab(63.50, 53.71, -42.87)
CIE-LCHlch(63.50, 68.72, 321.40°)
OKLaboklab(70.77% 0.1415 -0.1187)
OKLCHoklch(70.77% 0.185 320)
XYZxyz(47.3617, 32.1956, 79.3054)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D275E7 #8AE775
analogous
#9975E7 #D275E7 #E775C3
triadic
#D275E7 #E7D275 #75E7D2
tetradic
#D275E7 #E79975 #8AE775 #75C3E7
square
#D275E7 #E79975 #8AE775 #75C3E7
split-complementary
#D275E7 #C3E775 #75E799
monochromatic
#A321C0 #C141DE #D275E7 #E3A9F0 #F4DDF9

Accessibility & contrast

On white

2.82
#D275E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D275E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D275E7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D275E7#FFFFFF#000000##000000
##D275E71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#D385A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d275e7;
/* rgb */ color: rgb(210, 117, 231);
/* oklch */ color: oklch(70.8% 0.185 320.0);
Tailwind
colors: {
  custom: {
    50: '#e2a0ef',
    500: '#d275e7',
    950: '#000000',
  },
}
SCSS
$custom: #d275e7;
$custom-light: #e2a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d275e7",
  "rgb": {
    "r": 210,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 288.947,
    "s": 70.37,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.18467,
    "h": 320
  },
  "luminance": 0.32194
}

Semantic roles & 50–950 ramp

primary
#D275E7
secondary
#D1EDCB
accent
#D21336
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D275E7

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

Preview Lab → · Contrast checker → · Palette generator →

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