#CBA1EB#CBA1EB

#CBA1EB is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.3% C 0.112 H 309.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CBA1EB
RGBrgb(203, 161, 235)
HSLhsl(274, 65%, 78%)
HSVhsv(274, 31%, 92%)
CMYKcmyk(13.6%, 31.5%, 0%, 7.8%)
CIE-LABlab(72.35, 29.07, -31.35)
CIE-LCHlch(72.35, 42.76, 312.83°)
OKLaboklab(77.31% 0.0718 -0.0861)
OKLCHoklch(77.31% 0.112 309.8)
XYZxyz(52.3662, 44.1850, 84.3510)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA1EB #C1EBA1
analogous
#A6A1EB #CBA1EB #EBA1E6
triadic
#CBA1EB #EBCBA1 #A1EBCB
tetradic
#CBA1EB #EBA6A1 #C1EBA1 #A1E6EB
square
#CBA1EB #EBA6A1 #C1EBA1 #A1E6EB
split-complementary
#CBA1EB #E6EBA1 #A1EBA6
monochromatic
#933CD6 #AF6FE0 #CBA1EB #E7D3F6 #F1E6FA

Accessibility & contrast

On white

2.13
#CBA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CBA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA1EB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA1EB#FFFFFF#000000##000000
##CBA1EB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFEE
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#C7ABBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cba1eb;
/* rgb */ color: rgb(203, 161, 235);
/* oklch */ color: oklch(77.3% 0.112 309.8);
Tailwind
colors: {
  custom: {
    50: '#dbbdf1',
    500: '#cba1eb',
    950: '#000000',
  },
}
SCSS
$custom: #cba1eb;
$custom-light: #dbbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cba1eb",
  "rgb": {
    "r": 203,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 274.054,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77312,
    "c": 0.11211,
    "h": 309.8
  },
  "luminance": 0.44184
}

Semantic roles & 50–950 ramp

primary
#CBA1EB
secondary
#E4F1DA
accent
#CD1967
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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