#CFB2FA#CFB2FA

#CFB2FA is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.4% C 0.104 H 302.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CFB2FA
RGBrgb(207, 178, 250)
HSLhsl(264, 88%, 84%)
HSVhsv(264, 29%, 98%)
CMYKcmyk(17.2%, 28.8%, 0%, 2%)
CIE-LABlab(77.29, 24.20, -31.84)
CIE-LCHlch(77.29, 39.99, 307.23°)
OKLaboklab(81.36% 0.056 -0.0875)
OKLCHoklch(81.36% 0.104 302.6)
XYZxyz(58.9043, 52.0083, 97.3593)
Luminance0.5201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2FA #DDFAB2
analogous
#B2B9FA #CFB2FA #F3B2FA
triadic
#CFB2FA #FACFB2 #B2FACF
tetradic
#CFB2FA #FAB2B9 #DDFAB2 #B2FAF3
square
#CFB2FA #FAB2B9 #DDFAB2 #B2FAF3
split-complementary
#CFB2FA #FAF3B2 #B9FAB2
monochromatic
#873FF3 #AB79F6 #CFB2FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

11.40
#CFB2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2FA
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2FA#FFFFFF#000000##000000
##CFB2FA1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#C8BDCC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb2fa;
/* rgb */ color: rgb(207, 178, 250);
/* oklch */ color: oklch(81.4% 0.104 302.6);
Tailwind
colors: {
  custom: {
    50: '#dec9fc',
    500: '#cfb2fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2fa;
$custom-light: #dec9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2fa",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 264.167,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81361,
    "c": 0.10387,
    "h": 302.6
  },
  "luminance": 0.52008
}

Semantic roles & 50–950 ramp

primary
#CFB2FA
secondary
#B2DE73
accent
#E40189
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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