#CB7FC8#CB7FC8

#CB7FC8 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.1% C 0.133 H 328.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB7FC8
RGBrgb(203, 127, 200)
HSLhsl(302, 42%, 65%)
HSVhsv(302, 37%, 80%)
CMYKcmyk(0%, 37.4%, 1.5%, 20.4%)
CIE-LABlab(63.38, 40.61, -25.79)
CIE-LCHlch(63.38, 48.11, 327.58°)
OKLaboklab(70.07% 0.1133 -0.0701)
OKLCHoklch(70.07% 0.133 328.3)
XYZxyz(42.6426, 32.0473, 58.5720)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FC8 #7FCB82
analogous
#A87FCB #CB7FC8 #CB7FA2
triadic
#CB7FC8 #C8CB7F #7FC8CB
tetradic
#CB7FC8 #CBA87F #7FCB82 #7FA2CB
square
#CB7FC8 #CBA87F #7FCB82 #7FA2CB
split-complementary
#CB7FC8 #A2CB7F #7FCBA8
monochromatic
#943C90 #B953B5 #CB7FC8 #DDABDB #EED6ED

Accessibility & contrast

On white

2.83
#CB7FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB7FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FC8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FC8#FFFFFF#000000##000000
##CB7FC81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7fc8;
/* rgb */ color: rgb(203, 127, 200);
/* oklch */ color: oklch(70.1% 0.133 328.3);
Tailwind
colors: {
  custom: {
    50: '#dca5d9',
    500: '#cb7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fc8;
$custom-light: #dca5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fc8",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 302.368,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70065,
    "c": 0.13323,
    "h": 328.3
  },
  "luminance": 0.32045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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