#CFB3EF#CFB3EF

#CFB3EF is a light, moderate violet. Relative luminance 0.517; OKLCH L 81.1% C 0.088 H 305.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CFB3EF
RGBrgb(207, 179, 239)
HSLhsl(268, 65%, 82%)
HSVhsv(268, 25%, 94%)
CMYKcmyk(13.4%, 25.1%, 0%, 6.3%)
CIE-LABlab(77.12, 21.31, -26.16)
CIE-LCHlch(77.12, 33.74, 309.16°)
OKLaboklab(81.1% 0.0515 -0.0714)
OKLCHoklch(81.1% 0.088 305.8)
XYZxyz(57.4293, 51.7378, 88.6055)
Luminance0.5174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3EF #D3EFB3
analogous
#B3B5EF #CFB3EF #EDB3EF
triadic
#CFB3EF #EFCFB3 #B3EFCF
tetradic
#CFB3EF #EFB3B5 #D3EFB3 #B3EFED
square
#CFB3EF #EFB3B5 #D3EFB3 #B3EFED
split-complementary
#CFB3EF #EFEDB3 #B5EFB3
monochromatic
#8F4EDA #AF80E4 #CFB3EF #EFE6FA #EFE6FA

Accessibility & contrast

On white

1.85
#CFB3EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CFB3EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3EF
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3EF#FFFFFF#000000##000000
##CFB3EF1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BDF2
Deuteranopia (green-blind)
#ADBFED
Tritanopia (blue-blind)
#CBBBC8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb3ef;
/* rgb */ color: rgb(207, 179, 239);
/* oklch */ color: oklch(81.1% 0.088 305.8);
Tailwind
colors: {
  custom: {
    50: '#dec9f4',
    500: '#cfb3ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3ef;
$custom-light: #dec9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3ef",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 239
  },
  "hsl": {
    "h": 268,
    "s": 65.217,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81104,
    "c": 0.08806,
    "h": 305.8
  },
  "luminance": 0.51738
}

Semantic roles & 50–950 ramp

primary
#CFB3EF
secondary
#A6CD79
accent
#CD1879
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB3EF

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

Preview Lab → · Contrast checker → · Palette generator →

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