#D293FE#D293FE

#D293FE is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.5% C 0.161 H 310.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#D293FE
RGBrgb(210, 147, 254)
HSLhsl(275, 98%, 79%)
HSVhsv(275, 42%, 100%)
CMYKcmyk(17.3%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.68, 42.77, -44.25)
CIE-LCHlch(70.68, 61.54, 314.03°)
OKLaboklab(76.46% 0.1037 -0.1228)
OKLCHoklch(76.46% 0.161 310.2)
XYZxyz(54.8982, 41.7257, 98.9085)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D293FE #BFFE93
analogous
#9C93FE #D293FE #FE93F4
triadic
#D293FE #FED293 #93FED2
tetradic
#D293FE #FE9C93 #BFFE93 #93F4FE
square
#D293FE #FE9C93 #BFFE93 #93F4FE
split-complementary
#D293FE #F4FE93 #93FE9C
monochromatic
#9F1AFD #B956FD #D293FE #EBD0FF #F2E1FF

Accessibility & contrast

On white

2.25
#D293FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#D293FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D293FE
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D293FE#FFFFFF#000000##000000
##D293FE1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#CDA3BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d293fe;
/* rgb */ color: rgb(210, 147, 254);
/* oklch */ color: oklch(76.5% 0.161 310.2);
Tailwind
colors: {
  custom: {
    50: '#e1b4ff',
    500: '#d293fe',
    950: '#000000',
  },
}
SCSS
$custom: #d293fe;
$custom-light: #e1b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d293fe",
  "rgb": {
    "r": 210,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 275.327,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76463,
    "c": 0.16076,
    "h": 310.2
  },
  "luminance": 0.41725
}

Semantic roles & 50–950 ramp

primary
#D293FE
secondary
#E2F7D4
accent
#E6005E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D293FE

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

Preview Lab → · Contrast checker → · Palette generator →

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