#CF7EFD#CF7EFD

#CF7EFD is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.192 H 312.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CF7EFD
RGBrgb(207, 126, 253)
HSLhsl(278, 97%, 74%)
HSVhsv(278, 50%, 99%)
CMYKcmyk(18.2%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.97, 52.78, -51.15)
CIE-LCHlch(65.97, 73.50, 315.90°)
OKLaboklab(72.86% 0.1284 -0.1428)
OKLCHoklch(72.86% 0.192 312)
XYZxyz(50.9195, 35.2801, 97.0368)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EFD #ACFD7E
analogous
#907EFD #CF7EFD #FD7EEB
triadic
#CF7EFD #FDCF7E #7EFDCF
tetradic
#CF7EFD #FD907E #ACFD7E #7EEBFD
square
#CF7EFD #FD907E #ACFD7E #7EEBFD
split-complementary
#CF7EFD #EBFD7E #7EFD90
monochromatic
#A205FB #B942FC #CF7EFD #E5BAFE #F4E1FF

Accessibility & contrast

On white

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

On black

8.06
#CF7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EFD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EFD#FFFFFF#000000##000000
##CF7EFD1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#CA93B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7efd;
/* rgb */ color: rgb(207, 126, 253);
/* oklch */ color: oklch(72.9% 0.192 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a6fe',
    500: '#cf7efd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7efd;
$custom-light: #e0a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7efd",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 278.268,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72858,
    "c": 0.19206,
    "h": 312
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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