#CFB2FB#CFB2FB

#CFB2FB is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.105 H 302.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CFB2FB
RGBrgb(207, 178, 251)
HSLhsl(264, 90%, 84%)
HSVhsv(264, 29%, 98%)
CMYKcmyk(17.5%, 29.1%, 0%, 1.6%)
CIE-LABlab(77.32, 24.41, -32.32)
CIE-LCHlch(77.32, 40.51, 307.07°)
OKLaboklab(81.4% 0.0563 -0.0889)
OKLCHoklch(81.4% 0.105 302.3)
XYZxyz(59.0615, 52.0712, 98.1873)
Luminance0.5207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2FB #DEFBB2
analogous
#B2BAFB #CFB2FB #F4B2FB
triadic
#CFB2FB #FBCFB2 #B2FBCF
tetradic
#CFB2FB #FBB2BA #DEFBB2 #B2FBF4
square
#CFB2FB #FBB2BA #DEFBB2 #B2FBF4
split-complementary
#CFB2FB #FBF4B2 #BAFBB2
monochromatic
#863EF5 #AB78F8 #CFB2FB #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.84
#CFB2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CFB2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2FB
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2FB#FFFFFF#000000##000000
##CFB2FB1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#A8BFF9
Tritanopia (blue-blind)
#C8BDCC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb2fb;
/* rgb */ color: rgb(207, 178, 251);
/* oklch */ color: oklch(81.4% 0.105 302.3);
Tailwind
colors: {
  custom: {
    50: '#dec9fd',
    500: '#cfb2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2fb;
$custom-light: #dec9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2fb",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 263.836,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81402,
    "c": 0.10517,
    "h": 302.3
  },
  "luminance": 0.52071
}

Semantic roles & 50–950 ramp

primary
#CFB2FB
secondary
#B4DF72
accent
#E6008A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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