#CF7CFA#CF7CFA

#CF7CFA is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.4% C 0.192 H 312.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CF7CFA
RGBrgb(207, 124, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(17.2%, 50.4%, 0%, 2%)
CIE-LABlab(65.42, 53.18, -50.36)
CIE-LCHlch(65.42, 73.24, 316.56°)
OKLaboklab(72.41% 0.1308 -0.1405)
OKLCHoklch(72.41% 0.192 312.9)
XYZxyz(50.1922, 34.5840, 94.4553)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFA #A7FA7C
analogous
#907CFA #CF7CFA #FA7CE6
triadic
#CF7CFA #FACF7C #7CFACF
tetradic
#CF7CFA #FA907C #A7FA7C #7CE6FA
square
#CF7CFA #FA907C #A7FA7C #7CE6FA
split-complementary
#CF7CFA #E6FA7C #7CFA90
monochromatic
#A309F2 #B941F8 #CF7CFA #E5B7FC #F4E2FE

Accessibility & contrast

On white

2.65
#CF7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CF7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFA#FFFFFF#000000##000000
##CF7CFA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#CB90B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cfa;
/* rgb */ color: rgb(207, 124, 250);
/* oklch */ color: oklch(72.4% 0.192 312.9);
Tailwind
colors: {
  custom: {
    50: '#e0a4fc',
    500: '#cf7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cfa;
$custom-light: #e0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cfa",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 279.524,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.19195,
    "h": 312.9
  },
  "luminance": 0.34583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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