#CBB7FA#CBB7FA

#CBB7FA is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.9% C 0.095 H 298.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBB7FA
RGBrgb(203, 183, 250)
HSLhsl(258, 87%, 85%)
HSVhsv(258, 27%, 98%)
CMYKcmyk(18.8%, 26.8%, 0%, 2%)
CIE-LABlab(78.15, 20.26, -30.54)
CIE-LCHlch(78.15, 36.65, 303.56°)
OKLaboklab(81.94% 0.0446 -0.0839)
OKLCHoklch(81.94% 0.095 298)
XYZxyz(58.8137, 53.4653, 97.6453)
Luminance0.5347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB7FA #E6FAB7
analogous
#B7C5FA #CBB7FA #ECB7FA
triadic
#CBB7FA #FACBB7 #B7FACB
tetradic
#CBB7FA #FAB7C5 #E6FAB7 #B7FAEC
square
#CBB7FA #FAB7C5 #E6FAB7 #B7FAEC
split-complementary
#CBB7FA #FAECB7 #C5FAB7
monochromatic
#7845F2 #A27EF6 #CBB7FA #EAE2FD #EAE2FD

Accessibility & contrast

On white

1.80
#CBB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CBB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB7FA
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB7FA#FFFFFF#000000##000000
##CBB7FA1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#ABC1F8
Tritanopia (blue-blind)
#C2C1CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbb7fa;
/* rgb */ color: rgb(203, 183, 250);
/* oklch */ color: oklch(81.9% 0.095 298.0);
Tailwind
colors: {
  custom: {
    50: '#dbccfc',
    500: '#cbb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cbb7fa;
$custom-light: #dbccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb7fa",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 257.91,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81944,
    "c": 0.09499,
    "h": 298
  },
  "luminance": 0.53466
}

Semantic roles & 50–950 ramp

primary
#CBB7FA
secondary
#BFDE77
accent
#E402A0
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CBB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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