#CF7DF9#CF7DF9

#CF7DF9 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.189 H 313.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF9
RGBrgb(207, 125, 249)
HSLhsl(280, 91%, 73%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.9%, 49.8%, 0%, 2.4%)
CIE-LABlab(65.57, 52.46, -49.58)
CIE-LCHlch(65.57, 72.18, 316.62°)
OKLaboklab(72.5% 0.1294 -0.1382)
OKLCHoklch(72.5% 0.189 313.1)
XYZxyz(50.1617, 34.7734, 93.6737)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF9 #A7F97D
analogous
#917DF9 #CF7DF9 #F97DE5
triadic
#CF7DF9 #F9CF7D #7DF9CF
tetradic
#CF7DF9 #F9917D #A7F97D #7DE5F9
square
#CF7DF9 #F9917D #A7F97D #7DE5F9
split-complementary
#CF7DF9 #E5F97D #7DF991
monochromatic
#A30BF0 #B942F6 #CF7DF9 #E5B7FC #F4E2FE

Accessibility & contrast

On white

2.64
#CF7DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CF7DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF9#FFFFFF#000000##000000
##CF7DF91.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#79A1F6
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7df9;
/* rgb */ color: rgb(207, 125, 249);
/* oklch */ color: oklch(72.5% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#e0a5fc',
    500: '#cf7df9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df9;
$custom-light: #e0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df9",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 279.677,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72503,
    "c": 0.18931,
    "h": 313.1
  },
  "luminance": 0.34772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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