#CF7BFB#CF7BFB

#CF7BFB is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.3% C 0.195 H 312.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CF7BFB
RGBrgb(207, 123, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.5%, 51%, 0%, 1.6%)
CIE-LABlab(65.28, 53.90, -51.14)
CIE-LCHlch(65.28, 74.30, 316.50°)
OKLaboklab(72.32% 0.1322 -0.1428)
OKLCHoklch(72.32% 0.195 312.8)
XYZxyz(50.2247, 34.3975, 95.2417)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BFB #A7FB7B
analogous
#8F7BFB #CF7BFB #FB7BE7
triadic
#CF7BFB #FBCF7B #7BFBCF
tetradic
#CF7BFB #FB8F7B #A7FB7B #7BE7FB
square
#CF7BFB #FB8F7B #A7FB7B #7BE7FB
split-complementary
#CF7BFB #E7FB7B #7BFB8F
monochromatic
#A307F4 #B940F9 #CF7BFB #E5B6FD #F4E1FE

Accessibility & contrast

On white

2.67
#CF7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CF7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BFB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BFB#FFFFFF#000000##000000
##CF7BFB1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#76A0F8
Tritanopia (blue-blind)
#CB90B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7bfb;
/* rgb */ color: rgb(207, 123, 251);
/* oklch */ color: oklch(72.3% 0.195 312.8);
Tailwind
colors: {
  custom: {
    50: '#e0a4fd',
    500: '#cf7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bfb;
$custom-light: #e0a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bfb",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 279.375,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.19456,
    "h": 312.8
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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