#CBA2EF#CBA2EF

#CBA2EF is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.7% C 0.115 H 308.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CBA2EF
RGBrgb(203, 162, 239)
HSLhsl(272, 71%, 79%)
HSVhsv(272, 32%, 94%)
CMYKcmyk(15.1%, 32.2%, 0%, 6.3%)
CIE-LABlab(72.74, 29.37, -32.93)
CIE-LCHlch(72.74, 44.13, 311.73°)
OKLaboklab(77.66% 0.0714 -0.0906)
OKLCHoklch(77.66% 0.115 308.2)
XYZxyz(53.1260, 44.7696, 87.4873)
Luminance0.4477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2EF #C6EFA2
analogous
#A4A2EF #CBA2EF #EFA2EC
triadic
#CBA2EF #EFCBA2 #A2EFCB
tetradic
#CBA2EF #EFA4A2 #C6EFA2 #A2ECEF
square
#CBA2EF #EFA4A2 #C6EFA2 #A2ECEF
split-complementary
#CBA2EF #ECEFA2 #A2EFA4
monochromatic
#913ADD #AE6EE6 #CBA2EF #E8D6F8 #F0E5FB

Accessibility & contrast

On white

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

On black

9.95
#CBA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2EF
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2EF#FFFFFF#000000##000000
##CBA2EF1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#9CB3ED
Tritanopia (blue-blind)
#C6ADBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cba2ef;
/* rgb */ color: rgb(203, 162, 239);
/* oklch */ color: oklch(77.7% 0.115 308.2);
Tailwind
colors: {
  custom: {
    50: '#dbbef4',
    500: '#cba2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cba2ef;
$custom-light: #dbbef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2ef",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 271.948,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77659,
    "c": 0.11534,
    "h": 308.2
  },
  "luminance": 0.44769
}

Semantic roles & 50–950 ramp

primary
#CBA2EF
secondary
#E5F2D9
accent
#D3136D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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