#CF7CFD#CF7CFD

#CF7CFD is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.195 H 312.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CF7CFD
RGBrgb(207, 124, 253)
HSLhsl(279, 97%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(18.2%, 51%, 0%, 0.8%)
CIE-LABlab(65.57, 53.81, -51.77)
CIE-LCHlch(65.57, 74.67, 316.11°)
OKLaboklab(72.57% 0.1311 -0.1446)
OKLCHoklch(72.57% 0.195 312.2)
XYZxyz(50.6663, 34.7737, 96.9524)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFD #AAFD7C
analogous
#8F7CFD #CF7CFD #FD7CEA
triadic
#CF7CFD #FDCF7C #7CFDCF
tetradic
#CF7CFD #FD8F7C #AAFD7C #7CEAFD
square
#CF7CFD #FD8F7C #AAFD7C #7CEAFD
split-complementary
#CF7CFD #EAFD7C #7CFD8F
monochromatic
#A304FB #B940FC #CF7CFD #E5B8FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.95
#CF7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFD#FFFFFF#000000##000000
##CF7CFD1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf7cfd;
/* rgb */ color: rgb(207, 124, 253);
/* oklch */ color: oklch(72.6% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#e0a4fe',
    500: '#cf7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cfd;
$custom-light: #e0a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cfd",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 278.605,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.19516,
    "h": 312.2
  },
  "luminance": 0.34773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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