#CF7CFF#CF7CFF

#CF7CFF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.7% C 0.197 H 311.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF7CFF
RGBrgb(207, 124, 255)
HSLhsl(278, 100%, 74%)
HSVhsv(278, 51%, 100%)
CMYKcmyk(18.8%, 51.4%, 0%, 0%)
CIE-LABlab(65.67, 54.23, -52.71)
CIE-LCHlch(65.67, 75.62, 315.82°)
OKLaboklab(72.67% 0.1312 -0.1473)
OKLCHoklch(72.67% 0.197 311.7)
XYZxyz(50.9866, 34.9018, 98.6392)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFF #ACFF7C
analogous
#8E7CFF #CF7CFF #FF7CEE
triadic
#CF7CFF #FFCF7C #7CFFCF
tetradic
#CF7CFF #FF8E7C #ACFF7C #7CEEFF
square
#CF7CFF #FF8E7C #ACFF7C #7CEEFF
split-complementary
#CF7CFF #EEFF7C #7CFF8E
monochromatic
#A202FF #B93FFF #CF7CFF #E5B9FF #F4E0FF

Accessibility & contrast

On white

2.63
#CF7CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF7CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFF#FFFFFF#000000##000000
##CF7CFF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#CA92B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cff;
/* rgb */ color: rgb(207, 124, 255);
/* oklch */ color: oklch(72.7% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4ff',
    500: '#cf7cff',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cff;
$custom-light: #e0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cff",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 278.015,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.19731,
    "h": 311.7
  },
  "luminance": 0.34901
}

Semantic roles & 50–950 ramp

primary
#CF7CFF
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF7CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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