#CBA2ED#CBA2ED

#CBA2ED is a light, moderate violet. Relative luminance 0.447; OKLCH L 77.6% C 0.113 H 308.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CBA2ED
RGBrgb(203, 162, 237)
HSLhsl(273, 68%, 78%)
HSVhsv(273, 32%, 93%)
CMYKcmyk(14.3%, 31.6%, 0%, 7.1%)
CIE-LABlab(72.66, 28.94, -31.97)
CIE-LCHlch(72.66, 43.12, 312.16°)
OKLaboklab(77.57% 0.0709 -0.0878)
OKLCHoklch(77.57% 0.113 308.9)
XYZxyz(52.8322, 44.6521, 85.9398)
Luminance0.4465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2ED #C4EDA2
analogous
#A5A2ED #CBA2ED #EDA2E9
triadic
#CBA2ED #EDCBA2 #A2EDCB
tetradic
#CBA2ED #EDA5A2 #C4EDA2 #A2E9ED
square
#CBA2ED #EDA5A2 #C4EDA2 #A2E9ED
split-complementary
#CBA2ED #E9EDA2 #A2EDA5
monochromatic
#923BD9 #AE6FE3 #CBA2ED #E8D5F7 #F1E5FA

Accessibility & contrast

On white

2.11
#CBA2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CBA2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2ED
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2ED#FFFFFF#000000##000000
##CBA2ED1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0F0
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#C7ACBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cba2ed;
/* rgb */ color: rgb(203, 162, 237);
/* oklch */ color: oklch(77.6% 0.113 308.9);
Tailwind
colors: {
  custom: {
    50: '#dbbef3',
    500: '#cba2ed',
    950: '#000000',
  },
}
SCSS
$custom: #cba2ed;
$custom-light: #dbbef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2ed",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 272.8,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77574,
    "c": 0.11286,
    "h": 308.9
  },
  "luminance": 0.44652
}

Semantic roles & 50–950 ramp

primary
#CBA2ED
secondary
#E4F2D9
accent
#CF166A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBA2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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