#CF7EFB#CF7EFB

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

Color values

HEX#CF7EFB
RGBrgb(207, 126, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 50%, 98%)
CMYKcmyk(17.5%, 49.8%, 0%, 1.6%)
CIE-LABlab(65.87, 52.36, -50.21)
CIE-LCHlch(65.87, 72.54, 316.21°)
OKLaboklab(72.75% 0.1282 -0.1401)
OKLCHoklch(72.75% 0.19 312.5)
XYZxyz(50.6026, 35.1533, 95.3677)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EFB #AAFB7E
analogous
#917EFB #CF7EFB #FB7EE9
triadic
#CF7EFB #FBCF7E #7EFBCF
tetradic
#CF7EFB #FB917E #AAFB7E #7EE9FB
square
#CF7EFB #FB917E #AAFB7E #7EE9FB
split-complementary
#CF7EFB #E9FB7E #7EFB91
monochromatic
#A308F7 #B943F9 #CF7EFB #E5B9FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.03
#CF7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EFB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EFB#FFFFFF#000000##000000
##CF7EFB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#CB92B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7efb;
/* rgb */ color: rgb(207, 126, 251);
/* oklch */ color: oklch(72.8% 0.190 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0a6fd',
    500: '#cf7efb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7efb;
$custom-light: #e0a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7efb",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 278.88,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.1899,
    "h": 312.5
  },
  "luminance": 0.35152
}

Semantic roles & 50–950 ramp

primary
#CF7EFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CF7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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