#CF7BF7#CF7BF7

#CF7BF7 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.1% C 0.190 H 313.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CF7BF7
RGBrgb(207, 123, 247)
HSLhsl(281, 89%, 73%)
HSVhsv(281, 50%, 97%)
CMYKcmyk(16.2%, 50.2%, 0%, 3.1%)
CIE-LABlab(65.08, 53.07, -49.25)
CIE-LCHlch(65.08, 72.40, 317.13°)
OKLaboklab(72.11% 0.1318 -0.1373)
OKLCHoklch(72.11% 0.19 313.8)
XYZxyz(49.6008, 34.1480, 91.9560)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF7 #A3F77B
analogous
#917BF7 #CF7BF7 #F77BE1
triadic
#CF7BF7 #F7CF7B #7BF7CF
tetradic
#CF7BF7 #F7917B #A3F77B #7BE1F7
square
#CF7BF7 #F7917B #A3F77B #7BE1F7
split-complementary
#CF7BF7 #E1F77B #7BF791
monochromatic
#A30EE9 #BA41F4 #CF7BF7 #E4B5FA #F5E2FD

Accessibility & contrast

On white

2.68
#CF7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CF7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF7#FFFFFF#000000##000000
##CF7BF71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#CC8FAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7bf7;
/* rgb */ color: rgb(207, 123, 247);
/* oklch */ color: oklch(72.1% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#e0a4fa',
    500: '#cf7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf7;
$custom-light: #e0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf7",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 280.645,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72106,
    "c": 0.19031,
    "h": 313.8
  },
  "luminance": 0.34147
}

Semantic roles & 50–950 ramp

primary
#CF7BF7
secondary
#E0F5D6
accent
#E5004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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