#CF7FFB#CF7FFB

#CF7FFB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.9% C 0.188 H 312.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CF7FFB
RGBrgb(207, 127, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(17.5%, 49.4%, 0%, 1.6%)
CIE-LABlab(66.07, 51.85, -49.89)
CIE-LCHlch(66.07, 71.95, 316.10°)
OKLaboklab(72.9% 0.1269 -0.1391)
OKLCHoklch(72.9% 0.188 312.4)
XYZxyz(50.7311, 35.4103, 95.4105)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FFB #ABFB7F
analogous
#917FFB #CF7FFB #FB7FE9
triadic
#CF7FFB #FBCF7F #7FFBCF
tetradic
#CF7FFB #FB917F #ABFB7F #7FE9FB
square
#CF7FFB #FB917F #ABFB7F #7FE9FB
split-complementary
#CF7FFB #E9FB7F #7FFB91
monochromatic
#A208F7 #B944F9 #CF7FFB #E5BAFD #F4E1FE

Accessibility & contrast

On white

2.60
#CF7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CF7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FFB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FFB#FFFFFF#000000##000000
##CF7FFB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#CB93B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf7ffb;
/* rgb */ color: rgb(207, 127, 251);
/* oklch */ color: oklch(72.9% 0.188 312.4);
Tailwind
colors: {
  custom: {
    50: '#e0a6fd',
    500: '#cf7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ffb;
$custom-light: #e0a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ffb",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 278.71,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72901,
    "c": 0.18833,
    "h": 312.4
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

primary
#CF7FFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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