#CF7EF9#CF7EF9

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

Color values

HEX#CF7EF9
RGBrgb(207, 126, 249)
HSLhsl(280, 91%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.9%, 49.4%, 0%, 2.4%)
CIE-LABlab(65.77, 51.95, -49.26)
CIE-LCHlch(65.77, 71.59, 316.52°)
OKLaboklab(72.65% 0.128 -0.1373)
OKLCHoklch(72.65% 0.188 313)
XYZxyz(50.2890, 35.0278, 93.7161)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF9 #A8F97E
analogous
#917EF9 #CF7EF9 #F97EE5
triadic
#CF7EF9 #F9CF7E #7EF9CF
tetradic
#CF7EF9 #F9917E #A8F97E #7EE5F9
square
#CF7EF9 #F9917E #A8F97E #7EE5F9
split-complementary
#CF7EF9 #E5F97E #7EF991
monochromatic
#A30BF1 #B944F6 #CF7EF9 #E5B8FC #F4E2FE

Accessibility & contrast

On white

2.62
#CF7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CF7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF9#FFFFFF#000000##000000
##CF7EF91.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ef9;
/* rgb */ color: rgb(207, 126, 249);
/* oklch */ color: oklch(72.7% 0.188 313.0);
Tailwind
colors: {
  custom: {
    50: '#e0a6fc',
    500: '#cf7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef9;
$custom-light: #e0a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef9",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 279.512,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.18775,
    "h": 313
  },
  "luminance": 0.35027
}

Semantic roles & 50–950 ramp

primary
#CF7EF9
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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