#CB4BF8#CB4BF8

#CB4BF8 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.8% C 0.256 H 315.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CB4BF8
RGBrgb(203, 75, 248)
HSLhsl(284, 93%, 63%)
HSVhsv(284, 70%, 97%)
CMYKcmyk(18.1%, 69.8%, 0%, 2.7%)
CIE-LABlab(56.59, 74.14, -63.37)
CIE-LCHlch(56.59, 97.53, 319.48°)
OKLaboklab(65.85% 0.1832 -0.1783)
OKLCHoklch(65.85% 0.256 315.8)
XYZxyz(44.0853, 24.5076, 91.1969)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BF8 #78F84B
analogous
#744BF8 #CB4BF8 #F84BCE
triadic
#CB4BF8 #F8CB4B #4BF8CB
tetradic
#CB4BF8 #F8744B #78F84B #4BCEF8
square
#CB4BF8 #F8744B #78F84B #4BCEF8
split-complementary
#CB4BF8 #CEF84B #4BF874
monochromatic
#9108C1 #BA10F6 #CB4BF8 #DC86FA #EDC1FD

Accessibility & contrast

On white

3.56
#CB4BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CB4BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BF8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BF8#FFFFFF#000000##000000
##CB4BF81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#C86E9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4bf8;
/* rgb */ color: rgb(203, 75, 248);
/* oklch */ color: oklch(65.8% 0.256 315.8);
Tailwind
colors: {
  custom: {
    50: '#df88fb',
    500: '#cb4bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4bf8;
$custom-light: #df88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4bf8",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 248
  },
  "hsl": {
    "h": 284.393,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65845,
    "c": 0.25568,
    "h": 315.8
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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