#CF7CFB#CF7CFB

#CF7CFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.5% C 0.193 H 312.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CF7CFB
RGBrgb(207, 124, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.5%, 50.6%, 0%, 1.6%)
CIE-LABlab(65.47, 53.39, -50.83)
CIE-LCHlch(65.47, 73.72, 316.41°)
OKLaboklab(72.46% 0.1309 -0.1419)
OKLCHoklch(72.46% 0.193 312.7)
XYZxyz(50.3494, 34.6469, 95.2833)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CFB #A8FB7C
analogous
#8F7CFB #CF7CFB #FB7CE7
triadic
#CF7CFB #FBCF7C #7CFBCF
tetradic
#CF7CFB #FB8F7C #A8FB7C #7CE7FB
square
#CF7CFB #FB8F7C #A8FB7C #7CE7FB
split-complementary
#CF7CFB #E7FB7C #7CFB8F
monochromatic
#A307F5 #B941F9 #CF7CFB #E5B7FD #F4E1FE

Accessibility & contrast

On white

2.65
#CF7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CF7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CFB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CFB#FFFFFF#000000##000000
##CF7CFB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7cfb;
/* rgb */ color: rgb(207, 124, 251);
/* oklch */ color: oklch(72.5% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4fd',
    500: '#cf7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cfb;
$custom-light: #e0a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cfb",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 279.213,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72461,
    "c": 0.19302,
    "h": 312.7
  },
  "luminance": 0.34646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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