#CB4FFF#CB4FFF

#CB4FFF is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.7% C 0.257 H 314.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CB4FFF
RGBrgb(203, 79, 255)
HSLhsl(282, 100%, 65%)
HSVhsv(282, 69%, 100%)
CMYKcmyk(20.4%, 69%, 0%, 0%)
CIE-LABlab(57.57, 73.95, -65.68)
CIE-LCHlch(57.57, 98.90, 318.39°)
OKLaboklab(66.68% 0.1787 -0.1851)
OKLCHoklch(66.68% 0.257 314)
XYZxyz(45.4715, 25.5100, 97.1170)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FFF #83FF4F
analogous
#734FFF #CB4FFF #FF4FDB
triadic
#CB4FFF #FFCB4F #4FFFCB
tetradic
#CB4FFF #FF734F #83FF4F #4FDBFF
square
#CB4FFF #FF734F #83FF4F #4FDBFF
split-complementary
#CB4FFF #DBFF4F #4FFF73
monochromatic
#9500D4 #B912FF #CB4FFF #DD8CFF #EFC9FF

Accessibility & contrast

On white

3.44
#CB4FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CB4FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FFF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FFF#FFFFFF#000000##000000
##CB4FFF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#C674A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb4fff;
/* rgb */ color: rgb(203, 79, 255);
/* oklch */ color: oklch(66.7% 0.257 314.0);
Tailwind
colors: {
  custom: {
    50: '#df8aff',
    500: '#cb4fff',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fff;
$custom-light: #df8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fff",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 282.273,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.2573,
    "h": 314
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#CB4FFF
secondary
#C9F2B7
accent
#E60044
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CB4FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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