#CFB3FC#CFB3FC

#CFB3FC is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.6% C 0.105 H 301.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CFB3FC
RGBrgb(207, 179, 252)
HSLhsl(263, 92%, 85%)
HSVhsv(263, 29%, 99%)
CMYKcmyk(17.9%, 29%, 0%, 1.2%)
CIE-LABlab(77.60, 24.09, -32.43)
CIE-LCHlch(77.60, 40.40, 306.60°)
OKLaboklab(81.63% 0.0551 -0.0892)
OKLCHoklch(81.63% 0.105 301.7)
XYZxyz(59.4193, 52.5338, 99.0863)
Luminance0.5253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3FC #E0FCB3
analogous
#B3BCFC #CFB3FC #F4B3FC
triadic
#CFB3FC #FCCFB3 #B3FCCF
tetradic
#CFB3FC #FCB3BC #E0FCB3 #B3FCF4
square
#CFB3FC #FCB3BC #E0FCB3 #B3FCF4
split-complementary
#CFB3FC #FCF4B3 #BCFCB3
monochromatic
#853DF7 #AA78FA #CFB3FC #ECE2FE #ECE2FE

Accessibility & contrast

On white

1.83
#CFB3FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CFB3FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3FC
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3FC#FFFFFF#000000##000000
##CFB3FC1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFF
Deuteranopia (green-blind)
#A9C0FA
Tritanopia (blue-blind)
#C8BECD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb3fc;
/* rgb */ color: rgb(207, 179, 252);
/* oklch */ color: oklch(81.6% 0.105 301.7);
Tailwind
colors: {
  custom: {
    50: '#decafd',
    500: '#cfb3fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3fc;
$custom-light: #decafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3fc",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 252
  },
  "hsl": {
    "h": 263.014,
    "s": 92.405,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81626,
    "c": 0.10484,
    "h": 301.7
  },
  "luminance": 0.52534
}

Semantic roles & 50–950 ramp

primary
#CFB3FC
secondary
#B6E172
accent
#E6008D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB3FC

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

Preview Lab → · Contrast checker → · Palette generator →

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