#CFB2FF#CFB2FF

#CFB2FF is a light, moderate violet. Relative luminance 0.523; OKLCH L 81.6% C 0.110 H 301.3°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CFB2FF
RGBrgb(207, 178, 255)
HSLhsl(263, 100%, 85%)
HSVhsv(263, 30%, 100%)
CMYKcmyk(18.8%, 30.2%, 0%, 0%)
CIE-LABlab(77.48, 25.29, -34.24)
CIE-LCHlch(77.48, 42.56, 306.45°)
OKLaboklab(81.57% 0.0573 -0.0943)
OKLCHoklch(81.57% 0.11 301.3)
XYZxyz(59.6987, 52.3261, 101.5432)
Luminance0.5233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2FF #E2FFB2
analogous
#B2BCFF #CFB2FF #F5B2FF
triadic
#CFB2FF #FFCFB2 #B2FFCF
tetradic
#CFB2FF #FFB2BC #E2FFB2 #B2FFF5
square
#CFB2FF #FFB2BC #E2FFB2 #B2FFF5
split-complementary
#CFB2FF #FFF5B2 #BCFFB2
monochromatic
#8338FF #A975FF #CFB2FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.83
#CFB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CFB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2FF
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2FF#FFFFFF#000000##000000
##CFB2FF1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#A7BFFD
Tritanopia (blue-blind)
#C7BECE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb2ff;
/* rgb */ color: rgb(207, 178, 255);
/* oklch */ color: oklch(81.6% 0.110 301.3);
Tailwind
colors: {
  custom: {
    50: '#dec9ff',
    500: '#cfb2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ff;
$custom-light: #dec9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ff",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 262.597,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81569,
    "c": 0.11035,
    "h": 301.3
  },
  "luminance": 0.52326
}

Semantic roles & 50–950 ramp

primary
#CFB2FF
secondary
#B9E670
accent
#E6008F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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