#CF7EFA#CF7EFA

#CF7EFA is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.189 H 312.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CF7EFA
RGBrgb(207, 126, 250)
HSLhsl(279, 93%, 74%)
HSVhsv(279, 50%, 98%)
CMYKcmyk(17.2%, 49.6%, 0%, 2%)
CIE-LABlab(65.82, 52.15, -49.73)
CIE-LCHlch(65.82, 72.07, 316.36°)
OKLaboklab(72.7% 0.1281 -0.1387)
OKLCHoklch(72.7% 0.189 312.7)
XYZxyz(50.4453, 35.0904, 94.5397)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EFA #A9FA7E
analogous
#917EFA #CF7EFA #FA7EE7
triadic
#CF7EFA #FACF7E #7EFACF
tetradic
#CF7EFA #FA917E #A9FA7E #7EE7FA
square
#CF7EFA #FA917E #A9FA7E #7EE7FA
split-complementary
#CF7EFA #E7FA7E #7EFA91
monochromatic
#A309F4 #B943F8 #CF7EFA #E5B9FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.02
#CF7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EFA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EFA#FFFFFF#000000##000000
##CF7EFA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#CB92B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7efa;
/* rgb */ color: rgb(207, 126, 250);
/* oklch */ color: oklch(72.7% 0.189 312.7);
Tailwind
colors: {
  custom: {
    50: '#e0a6fc',
    500: '#cf7efa',
    950: '#000000',
  },
}
SCSS
$custom: #cf7efa;
$custom-light: #e0a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7efa",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 279.194,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.18882,
    "h": 312.7
  },
  "luminance": 0.35089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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