#CF7FF8#CF7FF8

#CF7FF8 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.185 H 313.1°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CF7FF8
RGBrgb(207, 127, 248)
HSLhsl(280, 90%, 74%)
HSVhsv(280, 49%, 97%)
CMYKcmyk(16.5%, 48.8%, 0%, 2.7%)
CIE-LABlab(65.92, 51.22, -48.47)
CIE-LCHlch(65.92, 70.52, 316.58°)
OKLaboklab(72.75% 0.1266 -0.135)
OKLCHoklch(72.75% 0.185 313.1)
XYZxyz(50.2619, 35.2226, 92.9397)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FF8 #A8F87F
analogous
#927FF8 #CF7FF8 #F87FE5
triadic
#CF7FF8 #F8CF7F #7FF8CF
tetradic
#CF7FF8 #F8927F #A8F87F #7FE5F8
square
#CF7FF8 #F8927F #A8F87F #7FE5F8
split-complementary
#CF7FF8 #E5F87F #7FF892
monochromatic
#A30DF0 #B945F5 #CF7FF8 #E5B9FB #F4E2FD

Accessibility & contrast

On white

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

On black

8.04
#CF7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FF8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FF8#FFFFFF#000000##000000
##CF7FF81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#CB92B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7ff8;
/* rgb */ color: rgb(207, 127, 248);
/* oklch */ color: oklch(72.7% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#e0a6fb',
    500: '#cf7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ff8;
$custom-light: #e0a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ff8",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 279.669,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72746,
    "c": 0.18509,
    "h": 313.1
  },
  "luminance": 0.35221
}

Semantic roles & 50–950 ramp

primary
#CF7FF8
secondary
#E0F5D6
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #CF7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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