#CFB2F2#CFB2F2

#CFB2F2 is a light, moderate violet. Relative luminance 0.515; OKLCH L 81.0% C 0.094 H 305.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CFB2F2
RGBrgb(207, 178, 242)
HSLhsl(267, 71%, 82%)
HSVhsv(267, 26%, 95%)
CMYKcmyk(14.5%, 26.4%, 0%, 5.1%)
CIE-LABlab(76.99, 22.48, -27.99)
CIE-LCHlch(76.99, 35.90, 308.78°)
OKLaboklab(81.04% 0.0538 -0.0766)
OKLCHoklch(81.04% 0.094 305.1)
XYZxyz(57.6764, 51.5172, 90.8925)
Luminance0.5152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2F2 #D5F2B2
analogous
#B2B5F2 #CFB2F2 #EFB2F2
triadic
#CFB2F2 #F2CFB2 #B2F2CF
tetradic
#CFB2F2 #F2B2B5 #D5F2B2 #B2F2EF
square
#CFB2F2 #F2B2B5 #D5F2B2 #B2F2EF
split-complementary
#CFB2F2 #F2EFB2 #B5F2B2
monochromatic
#8E49E0 #AE7EE9 #CFB2F2 #EFE5FB #EFE5FB

Accessibility & contrast

On white

1.86
#CFB2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CFB2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2F2
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2F2#FFFFFF#000000##000000
##CFB2F21.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BDF5
Deuteranopia (green-blind)
#ACBEF0
Tritanopia (blue-blind)
#CABBC8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb2f2;
/* rgb */ color: rgb(207, 178, 242);
/* oklch */ color: oklch(81.0% 0.094 305.1);
Tailwind
colors: {
  custom: {
    50: '#dec9f6',
    500: '#cfb2f2',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2f2;
$custom-light: #dec9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2f2",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 242
  },
  "hsl": {
    "h": 267.188,
    "s": 71.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81037,
    "c": 0.09358,
    "h": 305.1
  },
  "luminance": 0.51517
}

Semantic roles & 50–950 ramp

primary
#CFB2F2
secondary
#A8D177
accent
#D3127C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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