#CFB1DF#CFB1DF

#CFB1DF is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.1% C 0.072 H 313.8°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CFB1DF
RGBrgb(207, 177, 223)
HSLhsl(279, 42%, 78%)
HSVhsv(279, 21%, 87%)
CMYKcmyk(7.2%, 20.6%, 0%, 12.5%)
CIE-LABlab(76.09, 19.13, -19.07)
CIE-LCHlch(76.09, 27.01, 315.08°)
OKLaboklab(80.13% 0.0495 -0.0516)
OKLCHoklch(80.13% 0.072 313.8)
XYZxyz(54.7714, 50.0380, 76.5706)
Luminance0.5004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB1DF #C1DFB1
analogous
#B8B1DF #CFB1DF #DFB1D8
triadic
#CFB1DF #DFCFB1 #B1DFCF
tetradic
#CFB1DF #DFB8B1 #C1DFB1 #B1D8DF
square
#CFB1DF #DFB8B1 #C1DFB1 #B1D8DF
split-complementary
#CFB1DF #D8DFB1 #B1DFB8
monochromatic
#9A5ABB #B486CD #CFB1DF #EADCF1 #F2E9F6

Accessibility & contrast

On white

1.91
#CFB1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#CFB1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB1DF
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB1DF#FFFFFF#000000##000000
##CFB1DF1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBAE1
Deuteranopia (green-blind)
#B1BCDD
Tritanopia (blue-blind)
#CEB6C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfb1df;
/* rgb */ color: rgb(207, 177, 223);
/* oklch */ color: oklch(80.1% 0.072 313.8);
Tailwind
colors: {
  custom: {
    50: '#dec8e9',
    500: '#cfb1df',
    950: '#000000',
  },
}
SCSS
$custom: #cfb1df;
$custom-light: #dec8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb1df",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 223
  },
  "hsl": {
    "h": 279.13,
    "s": 41.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80128,
    "c": 0.07151,
    "h": 313.8
  },
  "luminance": 0.50037
}

Semantic roles & 50–950 ramp

primary
#CFB1DF
secondary
#91B87D
accent
#B5315F
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CFB1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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