#CF7DFB#CF7DFB

#CF7DFB is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.6% C 0.191 H 312.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF7DFB
RGBrgb(207, 125, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 50%, 98%)
CMYKcmyk(17.5%, 50.2%, 0%, 1.6%)
CIE-LABlab(65.67, 52.88, -50.52)
CIE-LCHlch(65.67, 73.13, 316.31°)
OKLaboklab(72.61% 0.1296 -0.141)
OKLCHoklch(72.61% 0.191 312.6)
XYZxyz(50.4753, 34.8988, 95.3253)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DFB #A9FB7D
analogous
#907DFB #CF7DFB #FB7DE8
triadic
#CF7DFB #FBCF7D #7DFBCF
tetradic
#CF7DFB #FB907D #A9FB7D #7DE8FB
square
#CF7DFB #FB907D #A9FB7D #7DE8FB
split-complementary
#CF7DFB #E8FB7D #7DFB90
monochromatic
#A308F6 #B942F9 #CF7DFB #E5B8FD #F4E1FE

Accessibility & contrast

On white

2.63
#CF7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DFB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DFB#FFFFFF#000000##000000
##CF7DFB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#CB91B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7dfb;
/* rgb */ color: rgb(207, 125, 251);
/* oklch */ color: oklch(72.6% 0.191 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5fd',
    500: '#cf7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dfb;
$custom-light: #e0a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dfb",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 279.048,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.19146,
    "h": 312.6
  },
  "luminance": 0.34898
}

Semantic roles & 50–950 ramp

primary
#CF7DFB
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CF7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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