#CBAFE7#CBAFE7

#CBAFE7 is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.7% C 0.083 H 307.3°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CBAFE7
RGBrgb(203, 175, 231)
HSLhsl(270, 54%, 80%)
HSVhsv(270, 24%, 91%)
CMYKcmyk(12.1%, 24.2%, 0%, 9.4%)
CIE-LABlab(75.53, 20.56, -24.30)
CIE-LCHlch(75.53, 31.83, 310.23°)
OKLaboklab(79.7% 0.0505 -0.0662)
OKLCHoklch(79.7% 0.083 307.3)
XYZxyz(54.3797, 49.1263, 82.2033)
Luminance0.4913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFE7 #CBE7AF
analogous
#AFAFE7 #CBAFE7 #E7AFE7
triadic
#CBAFE7 #E7CBAF #AFE7CB
tetradic
#CBAFE7 #E7AFAF #CBE7AF #AFE7E7
square
#CBAFE7 #E7AFAF #CBE7AF #AFE7E7
split-complementary
#CBAFE7 #E7E7AF #AFE7AF
monochromatic
#8E51CB #AC80D9 #CBAFE7 #EADEF5 #F0E7F8

Accessibility & contrast

On white

1.94
#CBAFE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CBAFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFE7
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFE7#FFFFFF#000000##000000
##CBAFE71.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B9E9
Deuteranopia (green-blind)
#ABBAE5
Tritanopia (blue-blind)
#C7B6C2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbafe7;
/* rgb */ color: rgb(203, 175, 231);
/* oklch */ color: oklch(79.7% 0.083 307.3);
Tailwind
colors: {
  custom: {
    50: '#dbc7ee',
    500: '#cbafe7',
    950: '#000000',
  },
}
SCSS
$custom: #cbafe7;
$custom-light: #dbc7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafe7",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.797,
    "c": 0.08327,
    "h": 307.3
  },
  "luminance": 0.49126
}

Semantic roles & 50–950 ramp

primary
#CBAFE7
secondary
#E6EFDC
accent
#C12473
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CBAFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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