#CF7CFC#CF7CFC

#CF7CFC is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.5% C 0.194 H 312.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CF7CFC
RGBrgb(207, 124, 252)
HSLhsl(279, 96%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(17.9%, 50.8%, 0%, 1.2%)
CIE-LABlab(65.52, 53.60, -51.30)
CIE-LCHlch(65.52, 74.19, 316.26°)
OKLaboklab(72.51% 0.131 -0.1432)
OKLCHoklch(72.51% 0.194 312.4)
XYZxyz(50.5074, 34.7101, 96.1157)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFC #A9FC7C
analogous
#8F7CFC #CF7CFC #FC7CE9
triadic
#CF7CFC #FCCF7C #7CFCCF
tetradic
#CF7CFC #FC8F7C #A9FC7C #7CE9FC
square
#CF7CFC #FC8F7C #A9FC7C #7CE9FC
split-complementary
#CF7CFC #E9FC7C #7CFC8F
monochromatic
#A306F8 #B940FB #CF7CFC #E5B8FD #F4E1FE

Accessibility & contrast

On white

2.64
#CF7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CF7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFC#FFFFFF#000000##000000
##CF7CFC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#CA91B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cfc;
/* rgb */ color: rgb(207, 124, 252);
/* oklch */ color: oklch(72.5% 0.194 312.4);
Tailwind
colors: {
  custom: {
    50: '#e0a4fe',
    500: '#cf7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cfc;
$custom-light: #e0a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cfc",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 278.906,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.19408,
    "h": 312.4
  },
  "luminance": 0.34709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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