#CF7DFC#CF7DFC

#CF7DFC is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.7% C 0.193 H 312.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CF7DFC
RGBrgb(207, 125, 252)
HSLhsl(279, 95%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.9%, 50.4%, 0%, 1.2%)
CIE-LABlab(65.72, 53.09, -50.99)
CIE-LCHlch(65.72, 73.61, 316.16°)
OKLaboklab(72.66% 0.1297 -0.1423)
OKLCHoklch(72.66% 0.193 312.3)
XYZxyz(50.6334, 34.9620, 96.1576)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DFC #AAFC7D
analogous
#907DFC #CF7DFC #FC7DEA
triadic
#CF7DFC #FCCF7D #7DFCCF
tetradic
#CF7DFC #FC907D #AAFC7D #7DEAFC
square
#CF7DFC #FC907D #AAFC7D #7DEAFC
split-complementary
#CF7DFC #EAFC7D #7DFC90
monochromatic
#A306F9 #B941FB #CF7DFC #E5B9FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.99
#CF7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DFC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DFC#FFFFFF#000000##000000
##CF7DFC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#CA92B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7dfc;
/* rgb */ color: rgb(207, 125, 252);
/* oklch */ color: oklch(72.7% 0.193 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0a5fe',
    500: '#cf7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dfc;
$custom-light: #e0a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dfc",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 278.74,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.19253,
    "h": 312.3
  },
  "luminance": 0.34961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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