#CB7EC6#CB7EC6

#CB7EC6 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.133 H 329.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CB7EC6
RGBrgb(203, 126, 198)
HSLhsl(304, 43%, 65%)
HSVhsv(304, 38%, 80%)
CMYKcmyk(0%, 37.9%, 2.5%, 20.4%)
CIE-LABlab(63.09, 40.77, -25.11)
CIE-LCHlch(63.09, 47.89, 328.37°)
OKLaboklab(69.82% 0.1143 -0.0681)
OKLCHoklch(69.82% 0.133 329.2)
XYZxyz(42.2818, 31.6974, 57.3062)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EC6 #7ECB83
analogous
#AA7ECB #CB7EC6 #CB7EA0
triadic
#CB7EC6 #C6CB7E #7EC6CB
tetradic
#CB7EC6 #CBAA7E #7ECB83 #7EA0CB
square
#CB7EC6 #CBAA7E #7ECB83 #7EA0CB
split-complementary
#CB7EC6 #A0CB7E #7ECBAA
monochromatic
#933B8E #B952B3 #CB7EC6 #DDAAD9 #EED5ED

Accessibility & contrast

On white

2.86
#CB7EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CB7EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EC6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EC6#FFFFFF#000000##000000
##CB7EC61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C9
Deuteranopia (green-blind)
#8E9CC4
Tritanopia (blue-blind)
#D08499
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7ec6;
/* rgb */ color: rgb(203, 126, 198);
/* oklch */ color: oklch(69.8% 0.133 329.2);
Tailwind
colors: {
  custom: {
    50: '#dca5d7',
    500: '#cb7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ec6;
$custom-light: #dca5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ec6",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 303.896,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.1331,
    "h": 329.2
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#CB7EC6
secondary
#C5E0C7
accent
#B63930
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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