#DFB2FF#DFB2FF

#DFB2FF is a very light, moderate violet. Relative luminance 0.547; OKLCH L 83.0% C 0.115 H 310.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DFB2FF
RGBrgb(223, 178, 255)
HSLhsl(275, 100%, 85%)
HSVhsv(275, 30%, 100%)
CMYKcmyk(12.5%, 30.2%, 0%, 0%)
CIE-LABlab(78.90, 30.12, -31.93)
CIE-LCHlch(78.90, 43.89, 313.33°)
OKLaboklab(82.99% 0.0751 -0.0875)
OKLCHoklch(82.99% 0.115 310.6)
XYZxyz(64.3987, 54.7495, 101.7635)
Luminance0.5475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB2FF #D2FFB2
analogous
#B9B2FF #DFB2FF #FFB2F8
triadic
#DFB2FF #FFDFB2 #B2FFDF
tetradic
#DFB2FF #FFB9B2 #D2FFB2 #B2F8FF
square
#DFB2FF #FFB9B2 #D2FFB2 #B2F8FF
split-complementary
#DFB2FF #F8FFB2 #B2FFB9
monochromatic
#AC38FF #C675FF #DFB2FF #F2E0FF #F2E0FF

Accessibility & contrast

On white

1.76
#DFB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DFB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB2FF
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB2FF#FFFFFF#000000##000000
##DFB2FF1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C1FF
Deuteranopia (green-blind)
#AFC4FD
Tritanopia (blue-blind)
#DCBCCE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfb2ff;
/* rgb */ color: rgb(223, 178, 255);
/* oklch */ color: oklch(83.0% 0.115 310.6);
Tailwind
colors: {
  custom: {
    50: '#e9c9ff',
    500: '#dfb2ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfb2ff;
$custom-light: #e9c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb2ff",
  "rgb": {
    "r": 223,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 275.065,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82992,
    "c": 0.1153,
    "h": 310.6
  },
  "luminance": 0.54749
}

Semantic roles & 50–950 ramp

primary
#DFB2FF
secondary
#A1E670
accent
#E6005F
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DFB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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