#CFB8FB#CFB8FB

#CFB8FB is a very light, moderate violet. Relative luminance 0.545; OKLCH L 82.5% C 0.095 H 300.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFB8FB
RGBrgb(207, 184, 251)
HSLhsl(261, 89%, 85%)
HSVhsv(261, 27%, 98%)
CMYKcmyk(17.5%, 26.7%, 0%, 1.6%)
CIE-LABlab(78.76, 21.14, -30.11)
CIE-LCHlch(78.76, 36.80, 305.07°)
OKLaboklab(82.51% 0.0478 -0.0826)
OKLCHoklch(82.51% 0.095 300.1)
XYZxyz(60.2815, 54.5113, 98.5940)
Luminance0.5451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8FB #E4FBB8
analogous
#B8C2FB #CFB8FB #F0B8FB
triadic
#CFB8FB #FBCFB8 #B8FBCF
tetradic
#CFB8FB #FBB8C2 #E4FBB8 #B8FBF0
square
#CFB8FB #FBB8C2 #E4FBB8 #B8FBF0
split-complementary
#CFB8FB #FBF0B8 #C2FBB8
monochromatic
#8144F4 #A87EF8 #CFB8FB #EBE2FD #EBE2FD

Accessibility & contrast

On white

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

On black

11.90
#CFB8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8FB
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8FB#FFFFFF#000000##000000
##CFB8FB1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb8fb;
/* rgb */ color: rgb(207, 184, 251);
/* oklch */ color: oklch(82.5% 0.095 300.1);
Tailwind
colors: {
  custom: {
    50: '#decdfc',
    500: '#cfb8fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8fb;
$custom-light: #decdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8fb",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 251
  },
  "hsl": {
    "h": 260.597,
    "s": 89.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.82506,
    "c": 0.09546,
    "h": 300.1
  },
  "luminance": 0.54511
}

Semantic roles & 50–950 ramp

primary
#CFB8FB
secondary
#BCE077
accent
#E60097
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CFB8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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