#CBA1EA#CBA1EA

#CBA1EA is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.3% C 0.111 H 310.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CBA1EA
RGBrgb(203, 161, 234)
HSLhsl(275, 63%, 77%)
HSVhsv(275, 31%, 92%)
CMYKcmyk(13.2%, 31.2%, 0%, 8.2%)
CIE-LABlab(72.31, 28.86, -30.87)
CIE-LCHlch(72.31, 42.26, 313.07°)
OKLaboklab(77.27% 0.0716 -0.0847)
OKLCHoklch(77.27% 0.111 310.2)
XYZxyz(52.2221, 44.1274, 83.5923)
Luminance0.4413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA1EA #C0EAA1
analogous
#A7A1EA #CBA1EA #EAA1E4
triadic
#CBA1EA #EACBA1 #A1EACB
tetradic
#CBA1EA #EAA7A1 #C0EAA1 #A1E4EA
square
#CBA1EA #EAA7A1 #C0EAA1 #A1E4EA
split-complementary
#CBA1EA #E4EAA1 #A1EAA7
monochromatic
#943DD4 #AF6FDF #CBA1EA #E7D3F5 #F1E6F9

Accessibility & contrast

On white

2.14
#CBA1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CBA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA1EA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA1EA#FFFFFF#000000##000000
##CBA1EA1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#C8ABBB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cba1ea;
/* rgb */ color: rgb(203, 161, 234);
/* oklch */ color: oklch(77.3% 0.111 310.2);
Tailwind
colors: {
  custom: {
    50: '#dbbdf1',
    500: '#cba1ea',
    950: '#000000',
  },
}
SCSS
$custom: #cba1ea;
$custom-light: #dbbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cba1ea",
  "rgb": {
    "r": 203,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 274.521,
    "s": 63.478,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.11088,
    "h": 310.2
  },
  "luminance": 0.44127
}

Semantic roles & 50–950 ramp

primary
#CBA1EA
secondary
#E4F1DA
accent
#CB1A65
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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