#CBA2F2#CBA2F2

#CBA2F2 is a light, moderate violet. Relative luminance 0.449; OKLCH L 77.8% C 0.119 H 307.3°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CBA2F2
RGBrgb(203, 162, 242)
HSLhsl(271, 75%, 79%)
HSVhsv(271, 33%, 95%)
CMYKcmyk(16.1%, 33.1%, 0%, 5.1%)
CIE-LABlab(72.86, 30.01, -34.38)
CIE-LCHlch(72.86, 45.64, 311.12°)
OKLaboklab(77.79% 0.0721 -0.0947)
OKLCHoklch(77.79% 0.119 307.3)
XYZxyz(53.5729, 44.9484, 89.8408)
Luminance0.4495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA2F2 #C9F2A2
analogous
#A3A2F2 #CBA2F2 #F2A2F1
triadic
#CBA2F2 #F2CBA2 #A2F2CB
tetradic
#CBA2F2 #F2A3A2 #C9F2A2 #A2F1F2
square
#CBA2F2 #F2A3A2 #C9F2A2 #A2F1F2
split-complementary
#CBA2F2 #F1F2A2 #A2F2A3
monochromatic
#8F37E3 #AD6CEA #CBA2F2 #E9D8FA #F0E4FB

Accessibility & contrast

On white

2.10
#CBA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CBA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA2F2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA2F2#FFFFFF#000000##000000
##CBA2F21.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#C6ADBF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cba2f2;
/* rgb */ color: rgb(203, 162, 242);
/* oklch */ color: oklch(77.8% 0.119 307.3);
Tailwind
colors: {
  custom: {
    50: '#dcbef6',
    500: '#cba2f2',
    950: '#000000',
  },
}
SCSS
$custom: #cba2f2;
$custom-light: #dcbef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cba2f2",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 270.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.11905,
    "h": 307.3
  },
  "luminance": 0.44948
}

Semantic roles & 50–950 ramp

primary
#CBA2F2
secondary
#E5F3D8
accent
#D80E70
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CBA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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