#CB77F2#CB77F2

#CB77F2 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.8% C 0.190 H 314.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CB77F2
RGBrgb(203, 119, 242)
HSLhsl(281, 83%, 71%)
HSVhsv(281, 51%, 95%)
CMYKcmyk(16.1%, 50.8%, 0%, 5.1%)
CIE-LABlab(63.59, 53.02, -48.88)
CIE-LCHlch(63.59, 72.11, 317.33°)
OKLaboklab(70.83% 0.1319 -0.1363)
OKLCHoklch(70.83% 0.19 314.1)
XYZxyz(47.2498, 32.3022, 87.7331)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77F2 #9EF277
analogous
#8D77F2 #CB77F2 #F277DB
triadic
#CB77F2 #F2CB77 #77F2CB
tetradic
#CB77F2 #F28D77 #9EF277 #77DBF2
square
#CB77F2 #F28D77 #9EF277 #77DBF2
split-complementary
#CB77F2 #DBF277 #77F28D
monochromatic
#9B15DA #B63FED #CB77F2 #E0AFF7 #F4E3FC

Accessibility & contrast

On white

2.81
#CB77F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CB77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77F2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77F2#FFFFFF#000000##000000
##CB77F21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#C88AAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb77f2;
/* rgb */ color: rgb(203, 119, 242);
/* oklch */ color: oklch(70.8% 0.190 314.1);
Tailwind
colors: {
  custom: {
    50: '#dda1f7',
    500: '#cb77f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb77f2;
$custom-light: #dda1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77f2",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 280.976,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.18963,
    "h": 314.1
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

primary
#CB77F2
secondary
#DCF3D2
accent
#DF074B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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