#CB77F7#CB77F7

#CB77F7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.195 H 312.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CB77F7
RGBrgb(203, 119, 247)
HSLhsl(279, 89%, 72%)
HSVhsv(279, 52%, 97%)
CMYKcmyk(17.8%, 51.8%, 0%, 3.1%)
CIE-LABlab(63.84, 54.06, -51.24)
CIE-LCHlch(63.84, 74.49, 316.53°)
OKLaboklab(71.09% 0.1323 -0.1431)
OKLCHoklch(71.09% 0.195 312.8)
XYZxyz(48.0110, 32.6067, 91.7422)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77F7 #A3F777
analogous
#8B77F7 #CB77F7 #F777E3
triadic
#CB77F7 #F7CB77 #77F7CB
tetradic
#CB77F7 #F78B77 #A3F777 #77E3F7
square
#CB77F7 #F78B77 #A3F777 #77E3F7
split-complementary
#CB77F7 #E3F777 #77F78B
monochromatic
#9C0EE6 #B53DF4 #CB77F7 #E1B1FA #F4E2FD

Accessibility & contrast

On white

2.79
#CB77F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CB77F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77F7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77F7#FFFFFF#000000##000000
##CB77F71.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#C78CAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb77f7;
/* rgb */ color: rgb(203, 119, 247);
/* oklch */ color: oklch(71.1% 0.195 312.8);
Tailwind
colors: {
  custom: {
    50: '#dda1fa',
    500: '#cb77f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb77f7;
$custom-light: #dda1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77f7",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 279.375,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71091,
    "c": 0.19494,
    "h": 312.8
  },
  "luminance": 0.32606
}

Semantic roles & 50–950 ramp

primary
#CB77F7
secondary
#E0F5D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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