#CF7FFA#CF7FFA

#CF7FFA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.187 H 312.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CF7FFA
RGBrgb(207, 127, 250)
HSLhsl(279, 92%, 74%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(17.2%, 49.2%, 0%, 2%)
CIE-LABlab(66.02, 51.64, -49.42)
CIE-LCHlch(66.02, 71.48, 316.26°)
OKLaboklab(72.85% 0.1268 -0.1378)
OKLCHoklch(72.85% 0.187 312.6)
XYZxyz(50.5739, 35.3474, 94.5825)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FFA #AAFA7F
analogous
#927FFA #CF7FFA #FA7FE8
triadic
#CF7FFA #FACF7F #7FFACF
tetradic
#CF7FFA #FA927F #AAFA7F #7FE8FA
square
#CF7FFA #FA927F #AAFA7F #7FE8FA
split-complementary
#CF7FFA #E8FA7F #7FFA92
monochromatic
#A30AF5 #B944F8 #CF7FFA #E5BAFC #F4E2FE

Accessibility & contrast

On white

2.60
#CF7FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CF7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FFA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FFA#FFFFFF#000000##000000
##CF7FFA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#CB93B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ffa;
/* rgb */ color: rgb(207, 127, 250);
/* oklch */ color: oklch(72.8% 0.187 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0a6fc',
    500: '#cf7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ffa;
$custom-light: #e0a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ffa",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 279.024,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72849,
    "c": 0.18725,
    "h": 312.6
  },
  "luminance": 0.35346
}

Semantic roles & 50–950 ramp

primary
#CF7FFA
secondary
#E1F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #CF7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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