#CF85FC#CF85FC

#CF85FC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.9% C 0.180 H 311.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CF85FC
RGBrgb(207, 133, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 47%, 99%)
CMYKcmyk(17.9%, 47.2%, 0%, 1.2%)
CIE-LABlab(67.33, 48.94, -48.45)
CIE-LCHlch(67.33, 68.86, 315.29°)
OKLaboklab(73.86% 0.119 -0.135)
OKLCHoklch(73.86% 0.18 311.4)
XYZxyz(51.6872, 37.0697, 96.5089)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF85FC #B2FC85
analogous
#9385FC #CF85FC #FC85ED
triadic
#CF85FC #FCCF85 #85FCCF
tetradic
#CF85FC #FC9385 #B2FC85 #85EDFC
square
#CF85FC #FC9385 #B2FC85 #85EDFC
split-complementary
#CF85FC #EDFC85 #85FC93
monochromatic
#A00EF9 #B749FB #CF85FC #E7C1FD #F3E1FE

Accessibility & contrast

On white

2.50
#CF85FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CF85FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF85FC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF85FC#FFFFFF#000000##000000
##CF85FC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#CA98B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf85fc;
/* rgb */ color: rgb(207, 133, 252);
/* oklch */ color: oklch(73.9% 0.180 311.4);
Tailwind
colors: {
  custom: {
    50: '#e0aafe',
    500: '#cf85fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf85fc;
$custom-light: #e0aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf85fc",
  "rgb": {
    "r": 207,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 277.311,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73855,
    "c": 0.17995,
    "h": 311.4
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#CF85FC
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF85FC

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

Preview Lab → · Contrast checker → · Palette generator →

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