#CFB2EF#CFB2EF

#CFB2EF is a light, moderate violet. Relative luminance 0.513; OKLCH L 80.9% C 0.090 H 306.1°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CFB2EF
RGBrgb(207, 178, 239)
HSLhsl(269, 66%, 82%)
HSVhsv(269, 26%, 94%)
CMYKcmyk(13.4%, 25.5%, 0%, 6.3%)
CIE-LABlab(76.88, 21.85, -26.53)
CIE-LCHlch(76.88, 34.37, 309.48°)
OKLaboklab(80.92% 0.0529 -0.0725)
OKLCHoklch(80.92% 0.09 306.1)
XYZxyz(57.2296, 51.3384, 88.5390)
Luminance0.5134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2EF #D2EFB2
analogous
#B2B4EF #CFB2EF #EEB2EF
triadic
#CFB2EF #EFCFB2 #B2EFCF
tetradic
#CFB2EF #EFB2B4 #D2EFB2 #B2EFEE
square
#CFB2EF #EFB2B4 #D2EFB2 #B2EFEE
split-complementary
#CFB2EF #EFEEB2 #B4EFB2
monochromatic
#904DDA #AF7FE4 #CFB2EF #EFE5FA #EFE6FA

Accessibility & contrast

On white

1.86
#CFB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CFB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2EF
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2EF#FFFFFF#000000##000000
##CFB2EF1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BDF2
Deuteranopia (green-blind)
#ADBEED
Tritanopia (blue-blind)
#CBBAC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb2ef;
/* rgb */ color: rgb(207, 178, 239);
/* oklch */ color: oklch(80.9% 0.090 306.1);
Tailwind
colors: {
  custom: {
    50: '#dec9f4',
    500: '#cfb2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ef;
$custom-light: #dec9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ef",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 268.525,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80919,
    "c": 0.08974,
    "h": 306.1
  },
  "luminance": 0.51338
}

Semantic roles & 50–950 ramp

primary
#CFB2EF
secondary
#A5CD78
accent
#CD1877
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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