#CFB2DF#CFB2DF

#CFB2DF is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.3% C 0.070 H 313.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CFB2DF
RGBrgb(207, 178, 223)
HSLhsl(279, 41%, 79%)
HSVhsv(279, 20%, 87%)
CMYKcmyk(7.2%, 20.2%, 0%, 12.5%)
CIE-LABlab(76.34, 18.58, -18.71)
CIE-LCHlch(76.34, 26.37, 314.81°)
OKLaboklab(80.32% 0.048 -0.0506)
OKLCHoklch(80.32% 0.07 313.5)
XYZxyz(54.9696, 50.4345, 76.6367)
Luminance0.5043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2DF #C2DFB2
analogous
#B8B2DF #CFB2DF #DFB2D8
triadic
#CFB2DF #DFCFB2 #B2DFCF
tetradic
#CFB2DF #DFB8B2 #C2DFB2 #B2D8DF
square
#CFB2DF #DFB8B2 #C2DFB2 #B2D8DF
split-complementary
#CFB2DF #D8DFB2 #B2DFB8
monochromatic
#995CBB #B487CD #CFB2DF #EADDF1 #F2E9F6

Accessibility & contrast

On white

1.89
#CFB2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CFB2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2DF
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2DF#FFFFFF#000000##000000
##CFB2DF1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBBE1
Deuteranopia (green-blind)
#B2BDDD
Tritanopia (blue-blind)
#CEB7C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfb2df;
/* rgb */ color: rgb(207, 178, 223);
/* oklch */ color: oklch(80.3% 0.070 313.5);
Tailwind
colors: {
  custom: {
    50: '#dec9e9',
    500: '#cfb2df',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2df;
$custom-light: #dec9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2df",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 223
  },
  "hsl": {
    "h": 278.667,
    "s": 41.284,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80315,
    "c": 0.06977,
    "h": 313.5
  },
  "luminance": 0.50434
}

Semantic roles & 50–950 ramp

primary
#CFB2DF
secondary
#92B87E
accent
#B43160
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CFB2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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