#D397FB#D397FB

#D397FB is a light, vivid violet. Relative luminance 0.429; OKLCH L 77.1% C 0.151 H 310.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#D397FB
RGBrgb(211, 151, 251)
HSLhsl(276, 93%, 79%)
HSVhsv(276, 40%, 98%)
CMYKcmyk(15.9%, 39.8%, 0%, 1.6%)
CIE-LABlab(71.52, 40.27, -41.30)
CIE-LCHlch(71.52, 57.68, 314.28°)
OKLaboklab(77.07% 0.0988 -0.1143)
OKLCHoklch(77.07% 0.151 310.8)
XYZxyz(55.3401, 42.9480, 96.6226)
Luminance0.4295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397FB #BFFB97
analogous
#A197FB #D397FB #FB97F1
triadic
#D397FB #FBD397 #97FBD3
tetradic
#D397FB #FBA197 #BFFB97 #97F1FB
square
#D397FB #FBA197 #BFFB97 #97F1FB
split-complementary
#D397FB #F1FB97 #97FBA1
monochromatic
#A121F6 #BA5CF9 #D397FB #ECD2FD #F3E2FE

Accessibility & contrast

On white

2.19
#D397FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#D397FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397FB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397FB#FFFFFF#000000##000000
##D397FB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#92B0F8
Tritanopia (blue-blind)
#CFA6BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d397fb;
/* rgb */ color: rgb(211, 151, 251);
/* oklch */ color: oklch(77.1% 0.151 310.8);
Tailwind
colors: {
  custom: {
    50: '#e2b6fd',
    500: '#d397fb',
    950: '#000000',
  },
}
SCSS
$custom: #d397fb;
$custom-light: #e2b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d397fb",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.15108,
    "h": 310.8
  },
  "luminance": 0.42947
}

Semantic roles & 50–950 ramp

primary
#D397FB
secondary
#E2F6D5
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D397FB

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

Preview Lab → · Contrast checker → · Palette generator →

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