#CB4FED#CB4FED

#CB4FED is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.241 H 318.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CB4FED
RGBrgb(203, 79, 237)
HSLhsl(287, 81%, 62%)
HSVhsv(287, 67%, 93%)
CMYKcmyk(14.3%, 66.7%, 0%, 7.1%)
CIE-LABlab(56.49, 70.51, -57.40)
CIE-LCHlch(56.49, 90.91, 320.85°)
OKLaboklab(65.56% 0.1799 -0.1609)
OKLCHoklch(65.56% 0.241 318.2)
XYZxyz(42.7085, 24.4048, 82.5653)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FED #71ED4F
analogous
#7C4FED #CB4FED #ED4FC0
triadic
#CB4FED #EDCB4F #4FEDCB
tetradic
#CB4FED #ED7C4F #71ED4F #4FC0ED
square
#CB4FED #ED7C4F #71ED4F #4FC0ED
split-complementary
#CB4FED #C0ED4F #4FED7C
monochromatic
#8E12B0 #BB18E7 #CB4FED #DB87F3 #ECBEF8

Accessibility & contrast

On white

3.57
#CB4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CB4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FED
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FED#FFFFFF#000000##000000
##CB4FED1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#CA6C98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb4fed;
/* rgb */ color: rgb(203, 79, 237);
/* oklch */ color: oklch(65.6% 0.241 318.2);
Tailwind
colors: {
  custom: {
    50: '#df89f3',
    500: '#cb4fed',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fed;
$custom-light: #df89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fed",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 287.089,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65563,
    "c": 0.24134,
    "h": 318.2
  },
  "luminance": 0.24403
}

Semantic roles & 50–950 ramp

primary
#CB4FED
secondary
#BBE9AF
accent
#DE0836
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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