#CBAFE2#CBAFE2

#CBAFE2 is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.5% C 0.077 H 309.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CBAFE2
RGBrgb(203, 175, 226)
HSLhsl(273, 47%, 79%)
HSVhsv(273, 23%, 89%)
CMYKcmyk(10.2%, 22.6%, 0%, 11.4%)
CIE-LABlab(75.36, 19.53, -21.85)
CIE-LCHlch(75.36, 29.31, 311.78°)
OKLaboklab(79.51% 0.0489 -0.0594)
OKLCHoklch(79.51% 0.077 309.5)
XYZxyz(53.6836, 48.8478, 78.5372)
Luminance0.4885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFE2 #C6E2AF
analogous
#B1AFE2 #CBAFE2 #E2AFDF
triadic
#CBAFE2 #E2CBAF #AFE2CB
tetradic
#CBAFE2 #E2B1AF #C6E2AF #AFDFE2
square
#CBAFE2 #E2B1AF #C6E2AF #AFDFE2
split-complementary
#CBAFE2 #DFE2AF #AFE2B1
monochromatic
#9155C1 #AE82D2 #CBAFE2 #E8DCF2 #F0E9F7

Accessibility & contrast

On white

1.95
#CBAFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CBAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFE2
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFE2#FFFFFF#000000##000000
##CBAFE21.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B8E4
Deuteranopia (green-blind)
#ACBAE0
Tritanopia (blue-blind)
#C9B5C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbafe2;
/* rgb */ color: rgb(203, 175, 226);
/* oklch */ color: oklch(79.5% 0.077 309.5);
Tailwind
colors: {
  custom: {
    50: '#dbc7eb',
    500: '#cbafe2',
    950: '#000000',
  },
}
SCSS
$custom: #cbafe2;
$custom-light: #dbc7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafe2",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 272.941,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79509,
    "c": 0.07695,
    "h": 309.5
  },
  "luminance": 0.48847
}

Semantic roles & 50–950 ramp

primary
#CBAFE2
secondary
#E5EEDD
accent
#BA2B6C
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CBAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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