#CF7EF8#CF7EF8

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

Color values

HEX#CF7EF8
RGBrgb(207, 126, 248)
HSLhsl(280, 90%, 73%)
HSVhsv(280, 49%, 97%)
CMYKcmyk(16.5%, 49.2%, 0%, 2.7%)
CIE-LABlab(65.72, 51.74, -48.79)
CIE-LCHlch(65.72, 71.11, 316.68°)
OKLaboklab(72.6% 0.1279 -0.1359)
OKLCHoklch(72.6% 0.187 313.3)
XYZxyz(50.1334, 34.9656, 92.8968)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF8 #A7F87E
analogous
#927EF8 #CF7EF8 #F87EE4
triadic
#CF7EF8 #F8CF7E #7EF8CF
tetradic
#CF7EF8 #F8927E #A7F87E #7EE4F8
square
#CF7EF8 #F8927E #A7F87E #7EE4F8
split-complementary
#CF7EF8 #E4F87E #7EF892
monochromatic
#A30DEF #B944F5 #CF7EF8 #E5B8FB #F4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7EF8#FFFFFF#000000##000000
##CF7EF81.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)
#629BFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ef8;
/* rgb */ color: rgb(207, 126, 248);
/* oklch */ color: oklch(72.6% 0.187 313.3);
Tailwind
colors: {
  custom: {
    50: '#e0a6fb',
    500: '#cf7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef8;
$custom-light: #e0a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef8",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 279.836,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.18667,
    "h": 313.3
  },
  "luminance": 0.34964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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