#CF78FF#CF78FF

#CF78FF is a light, highly saturated violet. Relative luminance 0.339; OKLCH L 72.1% C 0.203 H 312.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CF78FF
RGBrgb(207, 120, 255)
HSLhsl(279, 100%, 74%)
HSVhsv(279, 53%, 100%)
CMYKcmyk(18.8%, 52.9%, 0%, 0%)
CIE-LABlab(64.90, 56.26, -53.93)
CIE-LCHlch(64.90, 77.93, 316.21°)
OKLaboklab(72.1% 0.1364 -0.1509)
OKLCHoklch(72.1% 0.203 312.1)
XYZxyz(50.4954, 33.9195, 98.4754)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FF #A8FF78
analogous
#8B78FF #CF78FF #FF78EB
triadic
#CF78FF #FFCF78 #78FFCF
tetradic
#CF78FF #FF8B78 #A8FF78 #78EBFF
square
#CF78FF #FF8B78 #A8FF78 #78EBFF
split-complementary
#CF78FF #EBFF78 #78FF8B
monochromatic
#A300FD #B93BFF #CF78FF #E5B5FF #F4E0FF

Accessibility & contrast

On white

2.70
#CF78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CF78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FF#FFFFFF#000000##000000
##CF78FF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#CA8FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78ff;
/* rgb */ color: rgb(207, 120, 255);
/* oklch */ color: oklch(72.1% 0.203 312.1);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#cf78ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ff;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ff",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 278.667,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72103,
    "c": 0.2034,
    "h": 312.1
  },
  "luminance": 0.33918
}

Semantic roles & 50–950 ramp

primary
#CF78FF
secondary
#E0F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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