#CFB7DF#CFB7DF

#CFB7DF is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.3% C 0.061 H 311.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CFB7DF
RGBrgb(207, 183, 223)
HSLhsl(276, 38%, 80%)
HSVhsv(276, 18%, 87%)
CMYKcmyk(7.2%, 17.9%, 0%, 12.5%)
CIE-LABlab(77.56, 15.87, -16.86)
CIE-LCHlch(77.56, 23.16, 313.26°)
OKLaboklab(81.26% 0.0407 -0.0455)
OKLCHoklch(81.26% 0.061 311.8)
XYZxyz(55.9827, 52.4605, 76.9744)
Luminance0.5246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7DF #C7DFB7
analogous
#BBB7DF #CFB7DF #DFB7DB
triadic
#CFB7DF #DFCFB7 #B7DFCF
tetradic
#CFB7DF #DFBBB7 #C7DFB7 #B7DBDF
square
#CFB7DF #DFBBB7 #C7DFB7 #B7DBDF
split-complementary
#CFB7DF #DBDFB7 #B7DFBB
monochromatic
#9762B9 #B38DCC #CFB7DF #EBE1F2 #F1EAF6

Accessibility & contrast

On white

1.83
#CFB7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CFB7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7DF
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7DF#FFFFFF#000000##000000
##CFB7DF1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1BEE1
Deuteranopia (green-blind)
#B6C0DE
Tritanopia (blue-blind)
#CEBCC4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb7df;
/* rgb */ color: rgb(207, 183, 223);
/* oklch */ color: oklch(81.3% 0.061 311.8);
Tailwind
colors: {
  custom: {
    50: '#decce9',
    500: '#cfb7df',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7df;
$custom-light: #decce9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7df",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 223
  },
  "hsl": {
    "h": 276,
    "s": 38.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81259,
    "c": 0.06106,
    "h": 311.8
  },
  "luminance": 0.5246
}

Semantic roles & 50–950 ramp

primary
#CFB7DF
secondary
#98B783
accent
#B13466
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151316
muted
#848384

Preview Lab

Preview with #CFB7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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