#CF7FFC#CF7FFC

#CF7FFC is a light, vivid violet. Relative luminance 0.355; OKLCH L 73.0% C 0.189 H 312.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CF7FFC
RGBrgb(207, 127, 252)
HSLhsl(278, 95%, 74%)
HSVhsv(278, 50%, 99%)
CMYKcmyk(17.9%, 49.6%, 0%, 1.2%)
CIE-LABlab(66.12, 52.06, -50.36)
CIE-LCHlch(66.12, 72.43, 315.95°)
OKLaboklab(72.95% 0.127 -0.1405)
OKLCHoklch(72.95% 0.189 312.1)
XYZxyz(50.8891, 35.4735, 96.2429)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FFC #ACFC7F
analogous
#917FFC #CF7FFC #FC7FEB
triadic
#CF7FFC #FCCF7F #7FFCCF
tetradic
#CF7FFC #FC917F #ACFC7F #7FEBFC
square
#CF7FFC #FC917F #ACFC7F #7FEBFC
split-complementary
#CF7FFC #EBFC7F #7FFC91
monochromatic
#A207F9 #B943FB #CF7FFC #E5BBFD #F4E1FE

Accessibility & contrast

On white

2.59
#CF7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#CF7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FFC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FFC#FFFFFF#000000##000000
##CF7FFC1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#79A2F9
Tritanopia (blue-blind)
#CA93B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf7ffc;
/* rgb */ color: rgb(207, 127, 252);
/* oklch */ color: oklch(73.0% 0.189 312.1);
Tailwind
colors: {
  custom: {
    50: '#e0a6fe',
    500: '#cf7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ffc;
$custom-light: #e0a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ffc",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 278.4,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.18942,
    "h": 312.1
  },
  "luminance": 0.35472
}

Semantic roles & 50–950 ramp

primary
#CF7FFC
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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