#CBA2E2#CBA2E2

#CBA2E2 is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.1% C 0.099 H 313.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CBA2E2
RGBrgb(203, 162, 226)
HSLhsl(278, 52%, 76%)
HSVhsv(278, 28%, 89%)
CMYKcmyk(10.2%, 28.3%, 0%, 11.4%)
CIE-LABlab(72.25, 26.65, -26.60)
CIE-LCHlch(72.25, 37.65, 315.05°)
OKLaboklab(77.12% 0.068 -0.0726)
OKLCHoklch(77.12% 0.099 313.1)
XYZxyz(51.2742, 44.0289, 77.7341)
Luminance0.4403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2E2 #B9E2A2
analogous
#ABA2E2 #CBA2E2 #E2A2D9
triadic
#CBA2E2 #E2CBA2 #A2E2CB
tetradic
#CBA2E2 #E2ABA2 #B9E2A2 #A2D9E2
square
#CBA2E2 #E2ABA2 #B9E2A2 #A2D9E2
split-complementary
#CBA2E2 #D9E2A2 #A2E2AB
monochromatic
#9745C5 #B173D3 #CBA2E2 #E5D1F1 #F2E8F8

Accessibility & contrast

On white

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

On black

9.81
#CBA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2E2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2E2#FFFFFF#000000##000000
##CBA2E21.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE5
Deuteranopia (green-blind)
#A1B2E0
Tritanopia (blue-blind)
#C9AAB9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cba2e2;
/* rgb */ color: rgb(203, 162, 226);
/* oklch */ color: oklch(77.1% 0.099 313.1);
Tailwind
colors: {
  custom: {
    50: '#dbbeeb',
    500: '#cba2e2',
    950: '#000000',
  },
}
SCSS
$custom: #cba2e2;
$custom-light: #dbbeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2e2",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 278.438,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77121,
    "c": 0.09947,
    "h": 313.1
  },
  "luminance": 0.44028
}

Semantic roles & 50–950 ramp

primary
#CBA2E2
secondary
#E3EFDC
accent
#C0265D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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