#CF7BF9#CF7BF9

#CF7BF9 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.2% C 0.192 H 313.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CF7BF9
RGBrgb(207, 123, 249)
HSLhsl(280, 91%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(16.9%, 50.6%, 0%, 2.4%)
CIE-LABlab(65.18, 53.48, -50.20)
CIE-LCHlch(65.18, 73.35, 316.81°)
OKLaboklab(72.21% 0.132 -0.14)
OKLCHoklch(72.21% 0.192 313.3)
XYZxyz(49.9111, 34.2721, 93.5901)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF9 #A5F97B
analogous
#907BF9 #CF7BF9 #F97BE4
triadic
#CF7BF9 #F9CF7B #7BF9CF
tetradic
#CF7BF9 #F9907B #A5F97B #7BE4F9
square
#CF7BF9 #F9907B #A5F97B #7BE4F9
split-complementary
#CF7BF9 #E4F97B #7BF990
monochromatic
#A30BEF #BA40F6 #CF7BF9 #E4B6FC #F4E2FE

Accessibility & contrast

On white

2.67
#CF7BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CF7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF9#FFFFFF#000000##000000
##CF7BF91.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#CB8FAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7bf9;
/* rgb */ color: rgb(207, 123, 249);
/* oklch */ color: oklch(72.2% 0.192 313.3);
Tailwind
colors: {
  custom: {
    50: '#e0a4fc',
    500: '#cf7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf9;
$custom-light: #e0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf9",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 280,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.19244,
    "h": 313.3
  },
  "luminance": 0.34271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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