#CFB7F2#CFB7F2

#CFB7F2 is a light, moderate violet. Relative luminance 0.535; OKLCH L 82.0% C 0.085 H 303.1°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB7F2
RGBrgb(207, 183, 242)
HSLhsl(264, 69%, 83%)
HSVhsv(264, 24%, 95%)
CMYKcmyk(14.5%, 24.4%, 0%, 5.1%)
CIE-LABlab(78.19, 19.76, -26.14)
CIE-LCHlch(78.19, 32.77, 307.08°)
OKLaboklab(81.96% 0.0466 -0.0714)
OKLCHoklch(81.96% 0.085 303.1)
XYZxyz(58.6895, 53.5432, 91.2302)
Luminance0.5354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7F2 #DAF2B7
analogous
#B7BCF2 #CFB7F2 #ECB7F2
triadic
#CFB7F2 #F2CFB7 #B7F2CF
tetradic
#CFB7F2 #F2B7BC #DAF2B7 #B7F2EC
square
#CFB7F2 #F2B7BC #DAF2B7 #B7F2EC
split-complementary
#CFB7F2 #F2ECB7 #BCF2B7
monochromatic
#8A4FDF #AC83E9 #CFB7F2 #EEE5FA #EEE5FA

Accessibility & contrast

On white

1.79
#CFB7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CFB7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7F2
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7F2#FFFFFF#000000##000000
##CFB7F21.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC1F5
Deuteranopia (green-blind)
#B0C1F0
Tritanopia (blue-blind)
#CABFCB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7f2;
/* rgb */ color: rgb(207, 183, 242);
/* oklch */ color: oklch(82.0% 0.085 303.1);
Tailwind
colors: {
  custom: {
    50: '#deccf6',
    500: '#cfb7f2',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7f2;
$custom-light: #deccf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7f2",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 242
  },
  "hsl": {
    "h": 264.407,
    "s": 69.412,
    "l": 83.333
  },
  "oklch": {
    "l": 0.81964,
    "c": 0.0853,
    "h": 303.1
  },
  "luminance": 0.53543
}

Semantic roles & 50–950 ramp

primary
#CFB7F2
secondary
#AFD27C
accent
#D11484
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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