#CF5DF0#CF5DF0

#CF5DF0 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.228 H 318.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF0
RGBrgb(207, 93, 240)
HSLhsl(287, 83%, 65%)
HSVhsv(287, 61%, 94%)
CMYKcmyk(13.7%, 61.2%, 0%, 5.9%)
CIE-LABlab(59.33, 66.07, -54.50)
CIE-LCHlch(59.33, 85.65, 320.48°)
OKLaboklab(67.78% 0.169 -0.1524)
OKLCHoklch(67.78% 0.228 318)
XYZxyz(45.3725, 27.3872, 85.3174)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF0 #7EF05D
analogous
#865DF0 #CF5DF0 #F05DC7
triadic
#CF5DF0 #F0CF5D #5DF0CF
tetradic
#CF5DF0 #F0865D #7EF05D #5DC7F0
square
#CF5DF0 #F0865D #7EF05D #5DC7F0
split-complementary
#CF5DF0 #C7F05D #5DF086
monochromatic
#9912C1 #BE25EB #CF5DF0 #E095F5 #F0CDFA

Accessibility & contrast

On white

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

On black

6.48
#CF5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF0#FFFFFF#000000##000000
##CF5DF01.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F5
Deuteranopia (green-blind)
#6393EC
Tritanopia (blue-blind)
#CE769E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5df0;
/* rgb */ color: rgb(207, 93, 240);
/* oklch */ color: oklch(67.8% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#e191f5',
    500: '#cf5df0',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df0;
$custom-light: #e191f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df0",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 286.531,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67777,
    "c": 0.22757,
    "h": 318
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#CF5DF0
secondary
#C7EDBC
accent
#DF0637
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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