#D37EFE#D37EFE

#D37EFE is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.3% C 0.195 H 313.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D37EFE
RGBrgb(211, 126, 254)
HSLhsl(280, 98%, 75%)
HSVhsv(280, 50%, 100%)
CMYKcmyk(16.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.46, 54.04, -50.88)
CIE-LCHlch(66.46, 74.22, 316.73°)
OKLaboklab(73.34% 0.1333 -0.1419)
OKLCHoklch(73.34% 0.195 313.2)
XYZxyz(52.2112, 35.9276, 97.9310)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37EFE #A9FE7E
analogous
#937EFE #D37EFE #FE7EE9
triadic
#D37EFE #FED37E #7EFED3
tetradic
#D37EFE #FE937E #A9FE7E #7EE9FE
square
#D37EFE #FE937E #A9FE7E #7EE9FE
split-complementary
#D37EFE #E9FE7E #7EFE93
monochromatic
#AA05FD #BE41FE #D37EFE #E8BBFE #F5E1FF

Accessibility & contrast

On white

2.57
#D37EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D37EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37EFE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37EFE#FFFFFF#000000##000000
##D37EFE1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#CF92B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d37efe;
/* rgb */ color: rgb(211, 126, 254);
/* oklch */ color: oklch(73.3% 0.195 313.2);
Tailwind
colors: {
  custom: {
    50: '#e3a6ff',
    500: '#d37efe',
    950: '#000000',
  },
}
SCSS
$custom: #d37efe;
$custom-light: #e3a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d37efe",
  "rgb": {
    "r": 211,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 279.844,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.19466,
    "h": 313.2
  },
  "luminance": 0.35926
}

Semantic roles & 50–950 ramp

primary
#D37EFE
secondary
#E0F7D4
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D37EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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