#CFB8FF#CFB8FF

#CFB8FF is a very light, moderate violet. Relative luminance 0.548; OKLCH L 82.7% C 0.101 H 299.0°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFB8FF
RGBrgb(207, 184, 255)
HSLhsl(259, 100%, 86%)
HSVhsv(259, 28%, 100%)
CMYKcmyk(18.8%, 27.8%, 0%, 0%)
CIE-LABlab(78.91, 22.02, -32.03)
CIE-LCHlch(78.91, 38.87, 304.50°)
OKLaboklab(82.67% 0.0489 -0.0881)
OKLCHoklch(82.67% 0.101 299)
XYZxyz(60.9187, 54.7661, 101.9499)
Luminance0.5477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8FF #E8FFB8
analogous
#B8C4FF #CFB8FF #F3B8FF
triadic
#CFB8FF #FFCFB8 #B8FFCF
tetradic
#CFB8FF #FFB8C4 #E8FFB8 #B8FFF3
square
#CFB8FF #FFB8C4 #E8FFB8 #B8FFF3
split-complementary
#CFB8FF #FFF3B8 #C4FFB8
monochromatic
#7C3EFF #A67BFF #CFB8FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.76
#CFB8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CFB8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8FF
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8FF#FFFFFF#000000##000000
##CFB8FF1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C3FF
Deuteranopia (green-blind)
#ACC3FD
Tritanopia (blue-blind)
#C6C3D1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfb8ff;
/* rgb */ color: rgb(207, 184, 255);
/* oklch */ color: oklch(82.7% 0.101 299.0);
Tailwind
colors: {
  custom: {
    50: '#decdff',
    500: '#cfb8ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8ff;
$custom-light: #decdff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8ff",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 255
  },
  "hsl": {
    "h": 259.437,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.82668,
    "c": 0.10073,
    "h": 299
  },
  "luminance": 0.54766
}

Semantic roles & 50–950 ramp

primary
#CFB8FF
secondary
#C2E775
accent
#E6009B
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFB8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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