#CFB5FF#CFB5FF

#CFB5FF is a very light, moderate violet. Relative luminance 0.535; OKLCH L 82.1% C 0.106 H 300.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB5FF
RGBrgb(207, 181, 255)
HSLhsl(261, 100%, 85%)
HSVhsv(261, 29%, 100%)
CMYKcmyk(18.8%, 29%, 0%, 0%)
CIE-LABlab(78.19, 23.65, -33.14)
CIE-LCHlch(78.19, 40.71, 305.52°)
OKLaboklab(82.12% 0.0531 -0.0912)
OKLCHoklch(82.12% 0.106 300.2)
XYZxyz(60.3022, 53.5330, 101.7444)
Luminance0.5353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5FF #E5FFB5
analogous
#B5C0FF #CFB5FF #F4B5FF
triadic
#CFB5FF #FFCFB5 #B5FFCF
tetradic
#CFB5FF #FFB5C0 #E5FFB5 #B5FFF4
square
#CFB5FF #FFB5C0 #E5FFB5 #B5FFF4
split-complementary
#CFB5FF #FFF4B5 #C0FFB5
monochromatic
#803BFF #A778FF #CFB5FF #EBE0FF #EBE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB5FF#FFFFFF#000000##000000
##CFB5FF1.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)
#A5C1FF
Deuteranopia (green-blind)
#A9C1FD
Tritanopia (blue-blind)
#C7C0CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb5ff;
/* rgb */ color: rgb(207, 181, 255);
/* oklch */ color: oklch(82.1% 0.106 300.2);
Tailwind
colors: {
  custom: {
    50: '#decbff',
    500: '#cfb5ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5ff;
$custom-light: #decbff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5ff",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 255
  },
  "hsl": {
    "h": 261.081,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.82116,
    "c": 0.10552,
    "h": 300.2
  },
  "luminance": 0.53533
}

Semantic roles & 50–950 ramp

primary
#CFB5FF
secondary
#BDE672
accent
#E60095
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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