#CB4CF7#CB4CF7

#CB4CF7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.9% C 0.254 H 316.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CB4CF7
RGBrgb(203, 76, 247)
HSLhsl(285, 91%, 63%)
HSVhsv(285, 69%, 97%)
CMYKcmyk(17.8%, 69.2%, 0%, 3.1%)
CIE-LABlab(56.67, 73.57, -62.69)
CIE-LCHlch(56.67, 96.66, 319.56°)
OKLaboklab(65.88% 0.1823 -0.1764)
OKLCHoklch(65.88% 0.254 316)
XYZxyz(43.9989, 24.5825, 90.4049)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CF7 #78F74C
analogous
#754CF7 #CB4CF7 #F74CCE
triadic
#CB4CF7 #F7CB4C #4CF7CB
tetradic
#CB4CF7 #F7754C #78F74C #4CCEF7
square
#CB4CF7 #F7754C #78F74C #4CCEF7
split-complementary
#CB4CF7 #CEF74C #4CF775
monochromatic
#9109C0 #BA11F4 #CB4CF7 #DC87FA #EDC1FC

Accessibility & contrast

On white

3.55
#CB4CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CB4CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CF7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CF7#FFFFFF#000000##000000
##CB4CF71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#C86F9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4cf7;
/* rgb */ color: rgb(203, 76, 247);
/* oklch */ color: oklch(65.9% 0.254 316.0);
Tailwind
colors: {
  custom: {
    50: '#df88fb',
    500: '#cb4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cf7;
$custom-light: #df88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cf7",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 284.561,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.25367,
    "h": 316
  },
  "luminance": 0.24581
}

Semantic roles & 50–950 ramp

primary
#CB4CF7
secondary
#C1EEB1
accent
#E6003B
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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