#CF7CFE#CF7CFE

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

Color values

HEX#CF7CFE
RGBrgb(207, 124, 254)
HSLhsl(278, 98%, 74%)
HSVhsv(278, 51%, 100%)
CMYKcmyk(18.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(65.62, 54.02, -52.24)
CIE-LCHlch(65.62, 75.15, 315.96°)
OKLaboklab(72.62% 0.1312 -0.146)
OKLCHoklch(72.62% 0.196 311.9)
XYZxyz(50.8260, 34.8376, 97.7936)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFE #ABFE7C
analogous
#8E7CFE #CF7CFE #FE7CEC
triadic
#CF7CFE #FECF7C #7CFECF
tetradic
#CF7CFE #FE8E7C #ABFE7C #7CECFE
square
#CF7CFE #FE8E7C #ABFE7C #7CECFE
split-complementary
#CF7CFE #ECFE7C #7CFE8E
monochromatic
#A203FD #B93FFE #CF7CFE #E5B9FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.97
#CF7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFE#FFFFFF#000000##000000
##CF7CFE1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#CA91B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cfe;
/* rgb */ color: rgb(207, 124, 254);
/* oklch */ color: oklch(72.6% 0.196 311.9);
Tailwind
colors: {
  custom: {
    50: '#e0a4ff',
    500: '#cf7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cfe;
$custom-light: #e0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cfe",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 278.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.19623,
    "h": 311.9
  },
  "luminance": 0.34836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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