#CF7EFC#CF7EFC

#CF7EFC is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.8% C 0.191 H 312.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CF7EFC
RGBrgb(207, 126, 252)
HSLhsl(279, 95%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.9%, 50%, 0%, 1.2%)
CIE-LABlab(65.92, 52.57, -50.68)
CIE-LCHlch(65.92, 73.02, 316.05°)
OKLaboklab(72.81% 0.1283 -0.1414)
OKLCHoklch(72.81% 0.191 312.2)
XYZxyz(50.7606, 35.2165, 96.2000)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EFC #ABFC7E
analogous
#907EFC #CF7EFC #FC7EEA
triadic
#CF7EFC #FCCF7E #7EFCCF
tetradic
#CF7EFC #FC907E #ABFC7E #7EEAFC
square
#CF7EFC #FC907E #ABFC7E #7EEAFC
split-complementary
#CF7EFC #EAFC7E #7EFC90
monochromatic
#A206F9 #B942FB #CF7EFC #E5BAFD #F4E1FE

Accessibility & contrast

On white

2.61
#CF7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CF7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EFC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EFC#FFFFFF#000000##000000
##CF7EFC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#CA92B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7efc;
/* rgb */ color: rgb(207, 126, 252);
/* oklch */ color: oklch(72.8% 0.191 312.2);
Tailwind
colors: {
  custom: {
    50: '#e0a6fe',
    500: '#cf7efc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7efc;
$custom-light: #e0a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7efc",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 278.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.19098,
    "h": 312.2
  },
  "luminance": 0.35215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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