#CF78FB#CF78FB

#CF78FB is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.199 H 313.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CF78FB
RGBrgb(207, 120, 251)
HSLhsl(280, 94%, 73%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.5%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.70, 55.42, -52.06)
CIE-LCHlch(64.70, 76.04, 316.79°)
OKLaboklab(71.89% 0.1361 -0.1454)
OKLCHoklch(71.89% 0.199 313.1)
XYZxyz(49.8582, 33.6646, 95.1196)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FB #A4FB78
analogous
#8D78FB #CF78FB #FB78E6
triadic
#CF78FB #FBCF78 #78FBCF
tetradic
#CF78FB #FB8D78 #A4FB78 #78E6FB
square
#CF78FB #FB8D78 #A4FB78 #78E6FB
split-complementary
#CF78FB #E6FB78 #78FB8D
monochromatic
#A307F1 #BA3DF9 #CF78FB #E4B3FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.73
#CF78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FB#FFFFFF#000000##000000
##CF78FB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#CB8DAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78fb;
/* rgb */ color: rgb(207, 120, 251);
/* oklch */ color: oklch(71.9% 0.199 313.1);
Tailwind
colors: {
  custom: {
    50: '#e0a2fd',
    500: '#cf78fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf78fb;
$custom-light: #e0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78fb",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 279.847,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.19918,
    "h": 313.1
  },
  "luminance": 0.33663
}

Semantic roles & 50–950 ramp

primary
#CF78FB
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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