#CBABFA#CBABFA

#CBABFA is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.114 H 302.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CBABFA
RGBrgb(203, 171, 250)
HSLhsl(264, 89%, 83%)
HSVhsv(264, 32%, 98%)
CMYKcmyk(18.8%, 31.6%, 0%, 2%)
CIE-LABlab(75.28, 26.82, -34.97)
CIE-LCHlch(75.28, 44.07, 307.49°)
OKLaboklab(79.74% 0.0614 -0.0964)
OKLCHoklch(79.74% 0.114 302.5)
XYZxyz(56.4433, 48.7245, 96.8551)
Luminance0.4872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABFA #DAFAAB
analogous
#ABB2FA #CBABFA #F3ABFA
triadic
#CBABFA #FACBAB #ABFACB
tetradic
#CBABFA #FAABB2 #DAFAAB #ABFAF3
square
#CBABFA #FAABB2 #DAFAAB #ABFAF3
split-complementary
#CBABFA #FAF3AB #B2FAAB
monochromatic
#8337F3 #A771F7 #CBABFA #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.95
#CBABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CBABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABFA
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABFA#FFFFFF#000000##000000
##CBABFA1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FD
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#C3B7C8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbabfa;
/* rgb */ color: rgb(203, 171, 250);
/* oklch */ color: oklch(79.7% 0.114 302.5);
Tailwind
colors: {
  custom: {
    50: '#dcc4fc',
    500: '#cbabfa',
    950: '#000000',
  },
}
SCSS
$custom: #cbabfa;
$custom-light: #dcc4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabfa",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 264.304,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79741,
    "c": 0.11431,
    "h": 302.5
  },
  "luminance": 0.48724
}

Semantic roles & 50–950 ramp

primary
#CBABFA
secondary
#E9F5D6
accent
#E50089
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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