#CBA2EA#CBA2EA

#CBA2EA is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.4% C 0.109 H 310.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CBA2EA
RGBrgb(203, 162, 234)
HSLhsl(274, 63%, 78%)
HSVhsv(274, 31%, 92%)
CMYKcmyk(13.2%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.55, 28.31, -30.51)
CIE-LCHlch(72.55, 41.62, 312.86°)
OKLaboklab(77.45% 0.0701 -0.0837)
OKLCHoklch(77.45% 0.109 310)
XYZxyz(52.3976, 44.4783, 83.6508)
Luminance0.4448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2EA #C1EAA2
analogous
#A7A2EA #CBA2EA #EAA2E5
triadic
#CBA2EA #EACBA2 #A2EACB
tetradic
#CBA2EA #EAA7A2 #C1EAA2 #A2E5EA
square
#CBA2EA #EAA7A2 #C1EAA2 #A2E5EA
split-complementary
#CBA2EA #E5EAA2 #A2EAA7
monochromatic
#933ED3 #AF70DF #CBA2EA #E7D4F5 #F1E6F9

Accessibility & contrast

On white

2.12
#CBA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CBA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2EA
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2EA#FFFFFF#000000##000000
##CBA2EA1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#C8ACBC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cba2ea;
/* rgb */ color: rgb(203, 162, 234);
/* oklch */ color: oklch(77.4% 0.109 310.0);
Tailwind
colors: {
  custom: {
    50: '#dbbef1',
    500: '#cba2ea',
    950: '#000000',
  },
}
SCSS
$custom: #cba2ea;
$custom-light: #dbbef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2ea",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 274.167,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77448,
    "c": 0.10917,
    "h": 310
  },
  "luminance": 0.44478
}

Semantic roles & 50–950 ramp

primary
#CBA2EA
secondary
#E4F1DA
accent
#CB1B67
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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