#CFB3F5#CFB3F5

#CFB3F5 is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.3% C 0.096 H 303.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CFB3F5
RGBrgb(207, 179, 245)
HSLhsl(265, 77%, 83%)
HSVhsv(265, 27%, 96%)
CMYKcmyk(15.5%, 26.9%, 0%, 3.9%)
CIE-LABlab(77.34, 22.58, -29.07)
CIE-LCHlch(77.34, 36.81, 307.84°)
OKLaboklab(81.34% 0.0532 -0.0796)
OKLCHoklch(81.34% 0.096 303.7)
XYZxyz(58.3304, 52.0983, 93.3515)
Luminance0.5210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3F5 #D9F5B3
analogous
#B3B8F5 #CFB3F5 #F0B3F5
triadic
#CFB3F5 #F5CFB3 #B3F5CF
tetradic
#CFB3F5 #F5B3B8 #D9F5B3 #B3F5F0
square
#CFB3F5 #F5B3B8 #D9F5B3 #B3F5F0
split-complementary
#CFB3F5 #F5F0B3 #B8F5B3
monochromatic
#8B47E7 #AD7DEE #CFB3F5 #EEE4FB #EEE4FB

Accessibility & contrast

On white

1.84
#CFB3F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CFB3F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3F5
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3F5#FFFFFF#000000##000000
##CFB3F51.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BEF8
Deuteranopia (green-blind)
#ABBFF3
Tritanopia (blue-blind)
#C9BCCA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb3f5;
/* rgb */ color: rgb(207, 179, 245);
/* oklch */ color: oklch(81.3% 0.096 303.7);
Tailwind
colors: {
  custom: {
    50: '#decaf8',
    500: '#cfb3f5',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3f5;
$custom-light: #decaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3f5",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 245
  },
  "hsl": {
    "h": 265.455,
    "s": 76.744,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81341,
    "c": 0.09577,
    "h": 303.7
  },
  "luminance": 0.52098
}

Semantic roles & 50–950 ramp

primary
#CFB3F5
secondary
#ADD676
accent
#D90D82
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB3F5

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

Preview Lab → · Contrast checker → · Palette generator →

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