#CFB7EB#CFB7EB

#CFB7EB is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.7% C 0.076 H 305.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CFB7EB
RGBrgb(207, 183, 235)
HSLhsl(268, 57%, 82%)
HSVhsv(268, 22%, 92%)
CMYKcmyk(11.9%, 22.1%, 0%, 7.8%)
CIE-LABlab(77.95, 18.30, -22.74)
CIE-LCHlch(77.95, 29.19, 308.82°)
OKLaboklab(81.7% 0.0445 -0.0619)
OKLCHoklch(81.7% 0.076 305.7)
XYZxyz(57.6582, 53.1307, 85.7989)
Luminance0.5313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7EB #D3EBB7
analogous
#B7B9EB #CFB7EB #E9B7EB
triadic
#CFB7EB #EBCFB7 #B7EBCF
tetradic
#CFB7EB #EBB7B9 #D3EBB7 #B7EBE9
square
#CFB7EB #EBB7B9 #D3EBB7 #B7EBE9
split-complementary
#CFB7EB #EBE9B7 #B9EBB7
monochromatic
#8F57D0 #AF87DE #CFB7EB #EFE7F8 #EFE7F8

Accessibility & contrast

On white

1.81
#CFB7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CFB7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7EB
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7EB#FFFFFF#000000##000000
##CFB7EB1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC0ED
Deuteranopia (green-blind)
#B2C1E9
Tritanopia (blue-blind)
#CBBEC9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7eb;
/* rgb */ color: rgb(207, 183, 235);
/* oklch */ color: oklch(81.7% 0.076 305.7);
Tailwind
colors: {
  custom: {
    50: '#deccf1',
    500: '#cfb7eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7eb;
$custom-light: #deccf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7eb",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 235
  },
  "hsl": {
    "h": 267.692,
    "s": 56.522,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.07623,
    "h": 305.7
  },
  "luminance": 0.53131
}

Semantic roles & 50–950 ramp

primary
#CFB7EB
secondary
#A6C77F
accent
#C42179
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CFB7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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