#CF7DFF#CF7DFF

#CF7DFF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.8% C 0.196 H 311.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CF7DFF
RGBrgb(207, 125, 255)
HSLhsl(278, 100%, 75%)
HSVhsv(278, 51%, 100%)
CMYKcmyk(18.8%, 51%, 0%, 0%)
CIE-LABlab(65.87, 53.72, -52.40)
CIE-LCHlch(65.87, 75.04, 315.71°)
OKLaboklab(72.82% 0.1299 -0.1464)
OKLCHoklch(72.82% 0.196 311.6)
XYZxyz(51.1125, 35.1537, 98.6811)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DFF #ADFF7D
analogous
#8E7DFF #CF7DFF #FF7DEE
triadic
#CF7DFF #FFCF7D #7DFFCF
tetradic
#CF7DFF #FF8E7D #ADFF7D #7DEEFF
square
#CF7DFF #FF8E7D #ADFF7D #7DEEFF
split-complementary
#CF7DFF #EEFF7D #7DFF8E
monochromatic
#A203FF #B840FF #CF7DFF #E6BAFF #F4E0FF

Accessibility & contrast

On white

2.61
#CF7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CF7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DFF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DFF#FFFFFF#000000##000000
##CF7DFF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#CA92B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7dff;
/* rgb */ color: rgb(207, 125, 255);
/* oklch */ color: oklch(72.8% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5ff',
    500: '#cf7dff',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dff;
$custom-light: #e0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dff",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 277.846,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72818,
    "c": 0.19577,
    "h": 311.6
  },
  "luminance": 0.35153
}

Semantic roles & 50–950 ramp

primary
#CF7DFF
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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