#CB7FC7#CB7FC7

#CB7FC7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.0% C 0.132 H 328.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CB7FC7
RGBrgb(203, 127, 199)
HSLhsl(303, 42%, 65%)
HSVhsv(303, 37%, 80%)
CMYKcmyk(0%, 37.4%, 2%, 20.4%)
CIE-LABlab(63.34, 40.42, -25.29)
CIE-LCHlch(63.34, 47.68, 327.97°)
OKLaboklab(70.02% 0.1131 -0.0686)
OKLCHoklch(70.02% 0.132 328.7)
XYZxyz(42.5261, 32.0007, 57.9585)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FC7 #7FCB83
analogous
#A97FCB #CB7FC7 #CB7FA1
triadic
#CB7FC7 #C7CB7F #7FC7CB
tetradic
#CB7FC7 #CBA97F #7FCB83 #7FA1CB
square
#CB7FC7 #CBA97F #7FCB83 #7FA1CB
split-complementary
#CB7FC7 #A1CB7F #7FCBA9
monochromatic
#943C8F #B953B4 #CB7FC7 #DDABDA #EED6ED

Accessibility & contrast

On white

2.84
#CB7FC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CB7FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FC7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FC7#FFFFFF#000000##000000
##CB7FC71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93CA
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#D0859A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7fc7;
/* rgb */ color: rgb(203, 127, 199);
/* oklch */ color: oklch(70.0% 0.132 328.7);
Tailwind
colors: {
  custom: {
    50: '#dca5d8',
    500: '#cb7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fc7;
$custom-light: #dca5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fc7",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 303.158,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.13228,
    "h": 328.7
  },
  "luminance": 0.31999
}

Semantic roles & 50–950 ramp

primary
#CB7FC7
secondary
#C6E0C7
accent
#B53730
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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