#CF7BFD#CF7BFD

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

Color values

HEX#CF7BFD
RGBrgb(207, 123, 253)
HSLhsl(279, 97%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(18.2%, 51.4%, 0%, 0.8%)
CIE-LABlab(65.38, 54.32, -52.08)
CIE-LCHlch(65.38, 75.25, 316.21°)
OKLaboklab(72.42% 0.1324 -0.1455)
OKLCHoklch(72.42% 0.197 312.3)
XYZxyz(50.5416, 34.5243, 96.9109)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BFD #A9FD7B
analogous
#8E7BFD #CF7BFD #FD7BEA
triadic
#CF7BFD #FDCF7B #7BFDCF
tetradic
#CF7BFD #FD8E7B #A9FD7B #7BEAFD
square
#CF7BFD #FD8E7B #A9FD7B #7BEAFD
split-complementary
#CF7BFD #EAFD7B #7BFD8E
monochromatic
#A304FA #B93FFC #CF7BFD #E5B7FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.90
#CF7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BFD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BFD#FFFFFF#000000##000000
##CF7BFD1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#CA90B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7bfd;
/* rgb */ color: rgb(207, 123, 253);
/* oklch */ color: oklch(72.4% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0a4fe',
    500: '#cf7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bfd;
$custom-light: #e0a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bfd",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 278.769,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.1967,
    "h": 312.3
  },
  "luminance": 0.34523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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