#CF5FEB#CF5FEB

#CF5FEB is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.7% C 0.220 H 319.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#CF5FEB
RGBrgb(207, 95, 235)
HSLhsl(288, 78%, 65%)
HSVhsv(288, 60%, 92%)
CMYKcmyk(11.9%, 59.6%, 0%, 7.8%)
CIE-LABlab(59.39, 64.22, -51.63)
CIE-LCHlch(59.39, 82.40, 321.21°)
OKLaboklab(67.73% 0.1665 -0.144)
OKLCHoklch(67.73% 0.22 319.1)
XYZxyz(44.8178, 27.4499, 81.5187)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FEB #7BEB5F
analogous
#895FEB #CF5FEB #EB5FC1
triadic
#CF5FEB #EBCF5F #5FEBCF
tetradic
#CF5FEB #EB895F #7BEB5F #5FC1EB
square
#CF5FEB #EB895F #7BEB5F #5FC1EB
split-complementary
#CF5FEB #C1EB5F #5FEB89
monochromatic
#9817B9 #BF29E4 #CF5FEB #DF95F2 #F0CCF9

Accessibility & contrast

On white

3.24
#CF5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#CF5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FEB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FEB#FFFFFF#000000##000000
##CF5FEB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#CF769C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5feb;
/* rgb */ color: rgb(207, 95, 235);
/* oklch */ color: oklch(67.7% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#e192f2',
    500: '#cf5feb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5feb;
$custom-light: #e192f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5feb",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 288,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.22018,
    "h": 319.1
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#CF5FEB
secondary
#C4EBBB
accent
#DA0B35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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