#CB7EB7#CB7EB7

#CB7EB7 is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.2% C 0.120 H 337.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CB7EB7
RGBrgb(203, 126, 183)
HSLhsl(316, 43%, 65%)
HSVhsv(316, 38%, 80%)
CMYKcmyk(0%, 37.9%, 9.9%, 20.4%)
CIE-LABlab(62.54, 38.13, -17.47)
CIE-LCHlch(62.54, 41.95, 335.38°)
OKLaboklab(69.22% 0.1103 -0.0468)
OKLCHoklch(69.22% 0.12 337)
XYZxyz(40.6366, 31.0393, 48.6413)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EB7 #7ECB92
analogous
#B87ECB #CB7EB7 #CB7E91
triadic
#CB7EB7 #B7CB7E #7EB7CB
tetradic
#CB7EB7 #CBB87E #7ECB92 #7E91CB
square
#CB7EB7 #CBB87E #7ECB92 #7E91CB
split-complementary
#CB7EB7 #91CB7E #7ECBB8
monochromatic
#933B7C #B9529F #CB7EB7 #DDAACF #EED5E8

Accessibility & contrast

On white

2.91
#CB7EB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CB7EB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EB7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EB7#FFFFFF#000000##000000
##CB7EB71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B9
Deuteranopia (green-blind)
#939BB5
Tritanopia (blue-blind)
#D38093
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7eb7;
/* rgb */ color: rgb(203, 126, 183);
/* oklch */ color: oklch(69.2% 0.120 337.0);
Tailwind
colors: {
  custom: {
    50: '#dca5cc',
    500: '#cb7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eb7;
$custom-light: #dca5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eb7",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 315.584,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69224,
    "c": 0.11982,
    "h": 337
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

primary
#CB7EB7
secondary
#C5E0CC
accent
#B65330
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CB7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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