#CF7BF3#CF7BF3

#CF7BF3 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.186 H 314.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CF7BF3
RGBrgb(207, 123, 243)
HSLhsl(282, 83%, 72%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.8%, 49.4%, 0%, 4.7%)
CIE-LABlab(64.89, 52.24, -47.36)
CIE-LCHlch(64.89, 70.51, 317.81°)
OKLaboklab(71.9% 0.1314 -0.1318)
OKLCHoklch(71.9% 0.186 314.9)
XYZxyz(48.9902, 33.9037, 88.7400)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF3 #9FF37B
analogous
#937BF3 #CF7BF3 #F37BDB
triadic
#CF7BF3 #F3CF7B #7BF3CF
tetradic
#CF7BF3 #F3937B #9FF37B #7BDBF3
square
#CF7BF3 #F3937B #9FF37B #7BDBF3
split-complementary
#CF7BF3 #DBF37B #7BF393
monochromatic
#A214DF #BB43EE #CF7BF3 #E3B3F8 #F5E3FC

Accessibility & contrast

On white

2.70
#CF7BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CF7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF3#FFFFFF#000000##000000
##CF7BF31.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#CD8DAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bf3;
/* rgb */ color: rgb(207, 123, 243);
/* oklch */ color: oklch(71.9% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#e0a4f7',
    500: '#cf7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf3;
$custom-light: #e0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf3",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 282,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.719,
    "c": 0.18607,
    "h": 314.9
  },
  "luminance": 0.33902
}

Semantic roles & 50–950 ramp

primary
#CF7BF3
secondary
#DFF4D6
accent
#E00647
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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