#CFB7FC#CFB7FC

#CFB7FC is a very light, moderate violet. Relative luminance 0.542; OKLCH L 82.4% C 0.098 H 300.2°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CFB7FC
RGBrgb(207, 183, 252)
HSLhsl(261, 92%, 85%)
HSVhsv(261, 27%, 99%)
CMYKcmyk(17.9%, 27.4%, 0%, 1.2%)
CIE-LABlab(78.56, 21.91, -30.96)
CIE-LCHlch(78.56, 37.93, 305.28°)
OKLaboklab(82.36% 0.0495 -0.085)
OKLCHoklch(82.36% 0.098 300.2)
XYZxyz(60.2326, 54.1605, 99.3574)
Luminance0.5416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7FC #E4FCB7
analogous
#B7C1FC #CFB7FC #F2B7FC
triadic
#CFB7FC #FCCFB7 #B7FCCF
tetradic
#CFB7FC #FCB7C1 #E4FCB7 #B7FCF2
square
#CFB7FC #FCB7C1 #E4FCB7 #B7FCF2
split-complementary
#CFB7FC #FCF2B7 #C1FCB7
monochromatic
#8141F7 #A87CFA #CFB7FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.77
#CFB7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CFB7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7FC
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7FC#FFFFFF#000000##000000
##CFB7FC1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C2FF
Deuteranopia (green-blind)
#ACC2FA
Tritanopia (blue-blind)
#C7C1CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfb7fc;
/* rgb */ color: rgb(207, 183, 252);
/* oklch */ color: oklch(82.4% 0.098 300.2);
Tailwind
colors: {
  custom: {
    50: '#deccfd',
    500: '#cfb7fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7fc;
$custom-light: #deccfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7fc",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 252
  },
  "hsl": {
    "h": 260.87,
    "s": 92,
    "l": 85.294
  },
  "oklch": {
    "l": 0.82361,
    "c": 0.09838,
    "h": 300.2
  },
  "luminance": 0.54161
}

Semantic roles & 50–950 ramp

primary
#CFB7FC
secondary
#BCE176
accent
#E60096
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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