#CFB2FC#CFB2FC

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

Color values

HEX#CFB2FC
RGBrgb(207, 178, 252)
HSLhsl(264, 93%, 84%)
HSVhsv(264, 29%, 99%)
CMYKcmyk(17.9%, 29.4%, 0%, 1.2%)
CIE-LABlab(77.36, 24.63, -32.80)
CIE-LCHlch(77.36, 41.02, 306.90°)
OKLaboklab(81.44% 0.0565 -0.0902)
OKLCHoklch(81.44% 0.106 302.1)
XYZxyz(59.2196, 52.1344, 99.0197)
Luminance0.5213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2FC #DFFCB2
analogous
#B2BAFC #CFB2FC #F4B2FC
triadic
#CFB2FC #FCCFB2 #B2FCCF
tetradic
#CFB2FC #FCB2BA #DFFCB2 #B2FCF4
square
#CFB2FC #FCB2BA #DFFCB2 #B2FCF4
split-complementary
#CFB2FC #FCF4B2 #BAFCB2
monochromatic
#863CF7 #AA77FA #CFB2FC #EDE2FE #EDE2FE

Accessibility & contrast

On white

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

On black

11.43
#CFB2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2FC
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2FC#FFFFFF#000000##000000
##CFB2FC1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb2fc;
/* rgb */ color: rgb(207, 178, 252);
/* oklch */ color: oklch(81.4% 0.106 302.1);
Tailwind
colors: {
  custom: {
    50: '#dec9fd',
    500: '#cfb2fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2fc;
$custom-light: #dec9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2fc",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 252
  },
  "hsl": {
    "h": 263.514,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.10646,
    "h": 302.1
  },
  "luminance": 0.52134
}

Semantic roles & 50–950 ramp

primary
#CFB2FC
secondary
#B5E171
accent
#E6008C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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