#CBA2FE#CBA2FE

#CBA2FE is a light, vivid violet. Relative luminance 0.457; OKLCH L 78.3% C 0.134 H 304.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CBA2FE
RGBrgb(203, 162, 254)
HSLhsl(267, 98%, 82%)
HSVhsv(267, 36%, 100%)
CMYKcmyk(20.1%, 36.2%, 0%, 0.4%)
CIE-LABlab(73.35, 32.64, -40.13)
CIE-LCHlch(73.35, 51.73, 309.12°)
OKLaboklab(78.32% 0.0749 -0.1112)
OKLCHoklch(78.32% 0.134 304)
XYZxyz(55.4346, 45.6931, 99.6460)
Luminance0.4569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2FE #D5FEA2
analogous
#A2A7FE #CBA2FE #F9A2FE
triadic
#CBA2FE #FECBA2 #A2FECB
tetradic
#CBA2FE #FEA2A7 #D5FEA2 #A2FEF9
square
#CBA2FE #FEA2A7 #D5FEA2 #A2FEF9
split-complementary
#CBA2FE #FEF9A2 #A7FEA2
monochromatic
#8729FD #A965FD #CBA2FE #EDDFFF #EEE1FF

Accessibility & contrast

On white

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

On black

10.14
#CBA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2FE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2FE#FFFFFF#000000##000000
##CBA2FE1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#C3B0C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cba2fe;
/* rgb */ color: rgb(203, 162, 254);
/* oklch */ color: oklch(78.3% 0.134 304.0);
Tailwind
colors: {
  custom: {
    50: '#dcbeff',
    500: '#cba2fe',
    950: '#000000',
  },
}
SCSS
$custom: #cba2fe;
$custom-light: #dcbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2fe",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 266.739,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.7832,
    "c": 0.13404,
    "h": 304
  },
  "luminance": 0.45693
}

Semantic roles & 50–950 ramp

primary
#CBA2FE
secondary
#E7F7D4
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CBA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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