#CF78F9#CF78F9

#CF78F9 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.8% C 0.197 H 313.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CF78F9
RGBrgb(207, 120, 249)
HSLhsl(280, 91%, 72%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(16.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(64.60, 55.01, -51.12)
CIE-LCHlch(64.60, 75.09, 317.10°)
OKLaboklab(71.78% 0.1359 -0.1427)
OKLCHoklch(71.78% 0.197 313.6)
XYZxyz(49.5446, 33.5392, 93.4680)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78F9 #A2F978
analogous
#8F78F9 #CF78F9 #F978E3
triadic
#CF78F9 #F9CF78 #78F9CF
tetradic
#CF78F9 #F98F78 #A2F978 #78E3F9
square
#CF78F9 #F98F78 #A2F978 #78E3F9
split-complementary
#CF78F9 #E3F978 #78F98F
monochromatic
#A30AEC #BA3DF6 #CF78F9 #E4B3FC #F5E2FE

Accessibility & contrast

On white

2.72
#CF78F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CF78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78F9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78F9#FFFFFF#000000##000000
##CF78F91.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#CB8DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78f9;
/* rgb */ color: rgb(207, 120, 249);
/* oklch */ color: oklch(71.8% 0.197 313.6);
Tailwind
colors: {
  custom: {
    50: '#e0a2fc',
    500: '#cf78f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf78f9;
$custom-light: #e0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78f9",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 280.465,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.19707,
    "h": 313.6
  },
  "luminance": 0.33538
}

Semantic roles & 50–950 ramp

primary
#CF78F9
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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