#CBA5EB#CBA5EB

#CBA5EB is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.0% C 0.105 H 308.9°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CBA5EB
RGBrgb(203, 165, 235)
HSLhsl(273, 64%, 78%)
HSVhsv(273, 30%, 92%)
CMYKcmyk(13.6%, 29.8%, 0%, 7.8%)
CIE-LABlab(73.29, 26.88, -29.91)
CIE-LCHlch(73.29, 40.21, 311.94°)
OKLaboklab(78.03% 0.0661 -0.082)
OKLCHoklch(78.03% 0.105 308.9)
XYZxyz(53.0764, 45.6054, 84.5878)
Luminance0.4561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA5EB #C5EBA5
analogous
#A8A5EB #CBA5EB #EBA5E8
triadic
#CBA5EB #EBCBA5 #A5EBCB
tetradic
#CBA5EB #EBA8A5 #C5EBA5 #A5E8EB
square
#CBA5EB #EBA8A5 #C5EBA5 #A5E8EB
split-complementary
#CBA5EB #E8EBA5 #A5EBA8
monochromatic
#9141D5 #AE73E0 #CBA5EB #E8D7F6 #F1E6F9

Accessibility & contrast

On white

2.07
#CBA5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CBA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA5EB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA5EB#FFFFFF#000000##000000
##CBA5EB1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2EE
Deuteranopia (green-blind)
#A0B5E9
Tritanopia (blue-blind)
#C7AFBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cba5eb;
/* rgb */ color: rgb(203, 165, 235);
/* oklch */ color: oklch(78.0% 0.105 308.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0f1',
    500: '#cba5eb',
    950: '#000000',
  },
}
SCSS
$custom: #cba5eb;
$custom-light: #dbc0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cba5eb",
  "rgb": {
    "r": 203,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 272.571,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78028,
    "c": 0.10529,
    "h": 308.9
  },
  "luminance": 0.45605
}

Semantic roles & 50–950 ramp

primary
#CBA5EB
secondary
#E5F1DA
accent
#CB1A6B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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