#CF4BF8#CF4BF8

#CF4BF8 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.4% C 0.257 H 317.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CF4BF8
RGBrgb(207, 75, 248)
HSLhsl(286, 93%, 63%)
HSVhsv(286, 70%, 97%)
CMYKcmyk(16.5%, 69.8%, 0%, 2.7%)
CIE-LABlab(57.15, 74.94, -62.44)
CIE-LCHlch(57.15, 97.54, 320.20°)
OKLaboklab(66.36% 0.1879 -0.1755)
OKLCHoklch(66.36% 0.257 317)
XYZxyz(45.1890, 25.0767, 91.2487)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4BF8 #74F84B
analogous
#784BF8 #CF4BF8 #F84BCB
triadic
#CF4BF8 #F8CF4B #4BF8CF
tetradic
#CF4BF8 #F8784B #74F84B #4BCBF8
square
#CF4BF8 #F8784B #74F84B #4BCBF8
split-complementary
#CF4BF8 #CBF84B #4BF878
monochromatic
#9508C1 #BF10F6 #CF4BF8 #DF86FA #EEC1FD

Accessibility & contrast

On white

3.49
#CF4BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CF4BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4BF8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4BF8#FFFFFF#000000##000000
##CF4BF81.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#CD6E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf4bf8;
/* rgb */ color: rgb(207, 75, 248);
/* oklch */ color: oklch(66.4% 0.257 317.0);
Tailwind
colors: {
  custom: {
    50: '#e288fb',
    500: '#cf4bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cf4bf8;
$custom-light: #e288fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4bf8",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 248
  },
  "hsl": {
    "h": 285.78,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.25712,
    "h": 317
  },
  "luminance": 0.25075
}

Semantic roles & 50–950 ramp

primary
#CF4BF8
secondary
#BFEEB1
accent
#E60036
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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