#CFB2F8#CFB2F8

#CFB2F8 is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.3% C 0.101 H 303.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CFB2F8
RGBrgb(207, 178, 248)
HSLhsl(265, 83%, 84%)
HSVhsv(265, 28%, 97%)
CMYKcmyk(16.5%, 28.2%, 0%, 2.7%)
CIE-LABlab(77.21, 23.77, -30.88)
CIE-LCHlch(77.21, 38.97, 307.58°)
OKLaboklab(81.28% 0.0554 -0.0848)
OKLCHoklch(81.28% 0.101 303.2)
XYZxyz(58.5924, 51.8836, 95.7165)
Luminance0.5188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2F8 #DBF8B2
analogous
#B2B8F8 #CFB2F8 #F2B2F8
triadic
#CFB2F8 #F8CFB2 #B2F8CF
tetradic
#CFB2F8 #F8B2B8 #DBF8B2 #B2F8F2
square
#CFB2F8 #F8B2B8 #DBF8B2 #B2F8F2
split-complementary
#CFB2F8 #F8F2B2 #B8F8B2
monochromatic
#8942EE #AC7AF3 #CFB2F8 #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

11.38
#CFB2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2F8
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2F8#FFFFFF#000000##000000
##CFB2F81.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BEFB
Deuteranopia (green-blind)
#A9BFF6
Tritanopia (blue-blind)
#C9BCCB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb2f8;
/* rgb */ color: rgb(207, 178, 248);
/* oklch */ color: oklch(81.3% 0.101 303.2);
Tailwind
colors: {
  custom: {
    50: '#dec9fa',
    500: '#cfb2f8',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2f8;
$custom-light: #dec9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2f8",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 248
  },
  "hsl": {
    "h": 264.857,
    "s": 83.333,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81279,
    "c": 0.10129,
    "h": 303.2
  },
  "luminance": 0.51883
}

Semantic roles & 50–950 ramp

primary
#CFB2F8
secondary
#B0DA74
accent
#E00685
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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