#CF78FA#CF78FA

#CF78FA is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.8% C 0.198 H 313.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CF78FA
RGBrgb(207, 120, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.2%, 52%, 0%, 2%)
CIE-LABlab(64.65, 55.21, -51.59)
CIE-LCHlch(64.65, 75.56, 316.94°)
OKLaboklab(71.83% 0.136 -0.1441)
OKLCHoklch(71.83% 0.198 313.4)
XYZxyz(49.7010, 33.6017, 94.2916)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FA #A3FA78
analogous
#8E78FA #CF78FA #FA78E4
triadic
#CF78FA #FACF78 #78FACF
tetradic
#CF78FA #FA8E78 #A3FA78 #78E4FA
square
#CF78FA #FA8E78 #A3FA78 #78E4FA
split-complementary
#CF78FA #E4FA78 #78FA8E
monochromatic
#A309EF #BA3DF8 #CF78FA #E4B3FC #F5E1FE

Accessibility & contrast

On white

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

On black

7.72
#CF78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FA#FFFFFF#000000##000000
##CF78FA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#CB8DAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78fa;
/* rgb */ color: rgb(207, 120, 250);
/* oklch */ color: oklch(71.8% 0.198 313.4);
Tailwind
colors: {
  custom: {
    50: '#e0a2fc',
    500: '#cf78fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf78fa;
$custom-light: #e0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78fa",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 280.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71834,
    "c": 0.19813,
    "h": 313.4
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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