#CFB1FA#CFB1FA

#CFB1FA is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.2% C 0.105 H 303.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CFB1FA
RGBrgb(207, 177, 250)
HSLhsl(265, 88%, 84%)
HSVhsv(265, 29%, 98%)
CMYKcmyk(17.2%, 29.2%, 0%, 2%)
CIE-LABlab(77.05, 24.74, -32.21)
CIE-LCHlch(77.05, 40.61, 307.53°)
OKLaboklab(81.18% 0.0574 -0.0885)
OKLCHoklch(81.18% 0.106 303)
XYZxyz(58.7061, 51.6119, 97.2933)
Luminance0.5161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB1FA #DCFAB1
analogous
#B1B7FA #CFB1FA #F4B1FA
triadic
#CFB1FA #FACFB1 #B1FACF
tetradic
#CFB1FA #FAB1B7 #DCFAB1 #B1FAF4
square
#CFB1FA #FAB1B7 #DCFAB1 #B1FAF4
split-complementary
#CFB1FA #FAF4B1 #B7FAB1
monochromatic
#883EF3 #AC77F6 #CFB1FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.85
#CFB1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CFB1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB1FA
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB1FA#FFFFFF#000000##000000
##CFB1FA1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFD
Deuteranopia (green-blind)
#A8BEF8
Tritanopia (blue-blind)
#C8BCCB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb1fa;
/* rgb */ color: rgb(207, 177, 250);
/* oklch */ color: oklch(81.2% 0.105 303.0);
Tailwind
colors: {
  custom: {
    50: '#dec8fc',
    500: '#cfb1fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfb1fa;
$custom-light: #dec8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb1fa",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 250
  },
  "hsl": {
    "h": 264.658,
    "s": 87.952,
    "l": 83.725
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.1055,
    "h": 303
  },
  "luminance": 0.51612
}

Semantic roles & 50–950 ramp

primary
#CFB1FA
secondary
#B1DD72
accent
#E50187
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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