#CFB7FB#CFB7FB

#CFB7FB is a very light, moderate violet. Relative luminance 0.541; OKLCH L 82.3% C 0.097 H 300.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFB7FB
RGBrgb(207, 183, 251)
HSLhsl(261, 89%, 85%)
HSVhsv(261, 27%, 98%)
CMYKcmyk(17.5%, 27.1%, 0%, 1.6%)
CIE-LABlab(78.52, 21.69, -30.48)
CIE-LCHlch(78.52, 37.41, 305.43°)
OKLaboklab(82.32% 0.0492 -0.0837)
OKLCHoklch(82.32% 0.097 300.5)
XYZxyz(60.0746, 54.0973, 98.5250)
Luminance0.5410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7FB #E3FBB7
analogous
#B7C1FB #CFB7FB #F1B7FB
triadic
#CFB7FB #FBCFB7 #B7FBCF
tetradic
#CFB7FB #FBB7C1 #E3FBB7 #B7FBF1
square
#CFB7FB #FBB7C1 #E3FBB7 #B7FBF1
split-complementary
#CFB7FB #FBF1B7 #C1FBB7
monochromatic
#8243F5 #A87DF8 #CFB7FB #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.78
#CFB7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFB7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7FB
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7FB#FFFFFF#000000##000000
##CFB7FB1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C2FE
Deuteranopia (green-blind)
#ADC2F9
Tritanopia (blue-blind)
#C8C1CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfb7fb;
/* rgb */ color: rgb(207, 183, 251);
/* oklch */ color: oklch(82.3% 0.097 300.5);
Tailwind
colors: {
  custom: {
    50: '#deccfd',
    500: '#cfb7fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7fb;
$custom-light: #deccfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7fb",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 251
  },
  "hsl": {
    "h": 261.176,
    "s": 89.474,
    "l": 85.098
  },
  "oklch": {
    "l": 0.8232,
    "c": 0.09707,
    "h": 300.5
  },
  "luminance": 0.54097
}

Semantic roles & 50–950 ramp

primary
#CFB7FB
secondary
#BBE077
accent
#E60095
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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