#CBACFA#CBACFA

#CBACFA is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.9% C 0.113 H 302.2°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CBACFA
RGBrgb(203, 172, 250)
HSLhsl(264, 89%, 83%)
HSVhsv(264, 31%, 98%)
CMYKcmyk(18.8%, 31.2%, 0%, 2%)
CIE-LABlab(75.52, 26.27, -34.60)
CIE-LCHlch(75.52, 43.45, 307.21°)
OKLaboklab(79.92% 0.06 -0.0954)
OKLCHoklch(79.92% 0.113 302.2)
XYZxyz(56.6329, 49.1037, 96.9183)
Luminance0.4910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBACFA #DBFAAC
analogous
#ACB4FA #CBACFA #F2ACFA
triadic
#CBACFA #FACBAC #ACFACB
tetradic
#CBACFA #FAACB4 #DBFAAC #ACFAF2
square
#CBACFA #FAACB4 #DBFAAC #ACFAF2
split-complementary
#CBACFA #FAF2AC #B4FAAC
monochromatic
#8339F3 #A772F7 #CBACFA #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.94
#CBACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CBACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBACFA
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBACFA#FFFFFF#000000##000000
##CBACFA1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A1BAF8
Tritanopia (blue-blind)
#C3B8C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbacfa;
/* rgb */ color: rgb(203, 172, 250);
/* oklch */ color: oklch(79.9% 0.113 302.2);
Tailwind
colors: {
  custom: {
    50: '#dcc5fc',
    500: '#cbacfa',
    950: '#000000',
  },
}
SCSS
$custom: #cbacfa;
$custom-light: #dcc5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cbacfa",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 263.846,
    "s": 88.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.11267,
    "h": 302.2
  },
  "luminance": 0.49104
}

Semantic roles & 50–950 ramp

primary
#CBACFA
secondary
#E9F5D6
accent
#E5008A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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