#CFB7FE#CFB7FE

#CFB7FE is a very light, moderate violet. Relative luminance 0.543; OKLCH L 82.4% C 0.101 H 299.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CFB7FE
RGBrgb(207, 183, 254)
HSLhsl(260, 97%, 86%)
HSVhsv(260, 28%, 100%)
CMYKcmyk(18.5%, 28%, 0%, 0.4%)
CIE-LABlab(78.63, 22.34, -31.92)
CIE-LCHlch(78.63, 38.96, 304.99°)
OKLaboklab(82.44% 0.05 -0.0877)
OKLCHoklch(82.44% 0.101 299.7)
XYZxyz(60.5512, 54.2879, 101.0353)
Luminance0.5429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7FE #E6FEB7
analogous
#B7C2FE #CFB7FE #F3B7FE
triadic
#CFB7FE #FECFB7 #B7FECF
tetradic
#CFB7FE #FEB7C2 #E6FEB7 #B7FEF3
square
#CFB7FE #FEB7C2 #E6FEB7 #B7FEF3
split-complementary
#CFB7FE #FEF3B7 #C2FEB7
monochromatic
#7F3EFC #A77BFD #CFB7FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

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

On black

11.86
#CFB7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7FE
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7FE#FFFFFF#000000##000000
##CFB7FE1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C2FF
Deuteranopia (green-blind)
#ACC2FC
Tritanopia (blue-blind)
#C7C2D0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfb7fe;
/* rgb */ color: rgb(207, 183, 254);
/* oklch */ color: oklch(82.4% 0.101 299.7);
Tailwind
colors: {
  custom: {
    50: '#deccff',
    500: '#cfb7fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7fe;
$custom-light: #deccff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7fe",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 254
  },
  "hsl": {
    "h": 260.282,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.82442,
    "c": 0.10102,
    "h": 299.7
  },
  "luminance": 0.54288
}

Semantic roles & 50–950 ramp

primary
#CFB7FE
secondary
#BFE574
accent
#E60098
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFB7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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