#CB4AFF#CB4AFF

#CB4AFF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.2% C 0.263 H 314.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CB4AFF
RGBrgb(203, 74, 255)
HSLhsl(283, 100%, 65%)
HSVhsv(283, 71%, 100%)
CMYKcmyk(20.4%, 71%, 0%, 0%)
CIE-LABlab(56.90, 75.85, -66.76)
CIE-LCHlch(56.90, 101.05, 318.65°)
OKLaboklab(66.2% 0.1835 -0.1883)
OKLCHoklch(66.2% 0.263 314.3)
XYZxyz(45.1243, 24.8156, 97.0012)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4AFF #7EFF4A
analogous
#704AFF #CB4AFF #FF4AD9
triadic
#CB4AFF #FFCB4A #4AFFCB
tetradic
#CB4AFF #FF704A #7EFF4A #4AD9FF
square
#CB4AFF #FF704A #7EFF4A #4AD9FF
split-complementary
#CB4AFF #D9FF4A #4AFF70
monochromatic
#9300CF #B90DFF #CB4AFF #DD87FF #EEC4FF

Accessibility & contrast

On white

3.52
#CB4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CB4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4AFF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4AFF#FFFFFF#000000##000000
##CB4AFF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3F8CFB
Tritanopia (blue-blind)
#C671A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4aff;
/* rgb */ color: rgb(203, 74, 255);
/* oklch */ color: oklch(66.2% 0.263 314.3);
Tailwind
colors: {
  custom: {
    50: '#e087ff',
    500: '#cb4aff',
    950: '#000000',
  },
}
SCSS
$custom: #cb4aff;
$custom-light: #e087ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4aff",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 282.762,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.26289,
    "h": 314.3
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#CB4AFF
secondary
#C5F2B3
accent
#E60042
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CB4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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