#CF7BFC#CF7BFC

#CF7BFC is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.196 H 312.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CF7BFC
RGBrgb(207, 123, 252)
HSLhsl(279, 96%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(17.9%, 51.2%, 0%, 1.2%)
CIE-LABlab(65.33, 54.11, -51.61)
CIE-LCHlch(65.33, 74.77, 316.35°)
OKLaboklab(72.37% 0.1323 -0.1441)
OKLCHoklch(72.37% 0.196 312.5)
XYZxyz(50.3827, 34.4608, 96.0741)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BFC #A8FC7B
analogous
#8E7BFC #CF7BFC #FC7BE8
triadic
#CF7BFC #FCCF7B #7BFCCF
tetradic
#CF7BFC #FC8E7B #A8FC7B #7BE8FC
square
#CF7BFC #FC8E7B #A8FC7B #7BE8FC
split-complementary
#CF7BFC #E8FC7B #7BFC8E
monochromatic
#A306F7 #B93FFB #CF7BFC #E5B7FD #F4E1FE

Accessibility & contrast

On white

2.66
#CF7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CF7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BFC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BFC#FFFFFF#000000##000000
##CF7BFC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#CB90B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7bfc;
/* rgb */ color: rgb(207, 123, 252);
/* oklch */ color: oklch(72.4% 0.196 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0a4fe',
    500: '#cf7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bfc;
$custom-light: #e0a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bfc",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 279.07,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72369,
    "c": 0.19563,
    "h": 312.5
  },
  "luminance": 0.3446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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