#CE79F7#CE79F7

#CE79F7 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.193 H 313.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CE79F7
RGBrgb(206, 121, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(16.6%, 51%, 0%, 3.1%)
CIE-LABlab(64.57, 53.82, -50.06)
CIE-LCHlch(64.57, 73.51, 317.07°)
OKLaboklab(71.71% 0.1333 -0.1396)
OKLCHoklch(71.71% 0.193 313.7)
XYZxyz(49.0767, 33.5132, 91.8611)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE79F7 #A2F779
analogous
#8F79F7 #CE79F7 #F779E1
triadic
#CE79F7 #F7CE79 #79F7CE
tetradic
#CE79F7 #F78F79 #A2F779 #79E1F7
square
#CE79F7 #F78F79 #A2F779 #79E1F7
split-complementary
#CE79F7 #E1F779 #79F78F
monochromatic
#A10EE8 #B93FF4 #CE79F7 #E3B3FA #F4E2FD

Accessibility & contrast

On white

2.73
#CE79F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CE79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE79F7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE79F7#FFFFFF#000000##000000
##CE79F71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#CB8DAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce79f7;
/* rgb */ color: rgb(206, 121, 247);
/* oklch */ color: oklch(71.7% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#dfa2fa',
    500: '#ce79f7',
    950: '#000000',
  },
}
SCSS
$custom: #ce79f7;
$custom-light: #dfa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce79f7",
  "rgb": {
    "r": 206,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 280.476,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.19302,
    "h": 313.7
  },
  "luminance": 0.33512
}

Semantic roles & 50–950 ramp

primary
#CE79F7
secondary
#E0F5D6
accent
#E5004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CE79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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