#CF7BF6#CF7BF6

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

Color values

HEX#CF7BF6
RGBrgb(207, 123, 246)
HSLhsl(281, 87%, 72%)
HSVhsv(281, 50%, 96%)
CMYKcmyk(15.9%, 50%, 0%, 3.5%)
CIE-LABlab(65.03, 52.86, -48.78)
CIE-LCHlch(65.03, 71.93, 317.30°)
OKLaboklab(72.06% 0.1317 -0.1359)
OKLCHoklch(72.06% 0.189 314.1)
XYZxyz(49.4469, 34.0864, 91.1455)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF6 #A2F67B
analogous
#927BF6 #CF7BF6 #F67BDF
triadic
#CF7BF6 #F6CF7B #7BF6CF
tetradic
#CF7BF6 #F6927B #A2F67B #7BDFF6
square
#CF7BF6 #F6927B #A2F67B #7BDFF6
split-complementary
#CF7BF6 #DFF67B #7BF692
monochromatic
#A310E7 #BA42F2 #CF7BF6 #E4B4FA #F5E2FD

Accessibility & contrast

On white

2.69
#CF7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CF7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF6#FFFFFF#000000##000000
##CF7BF61.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#CC8EAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7bf6;
/* rgb */ color: rgb(207, 123, 246);
/* oklch */ color: oklch(72.1% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#e0a4f9',
    500: '#cf7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf6;
$custom-light: #e0a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf6",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 280.976,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.18925,
    "h": 314.1
  },
  "luminance": 0.34085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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