#CF85FB#CF85FB

#CF85FB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.8% C 0.179 H 311.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CF85FB
RGBrgb(207, 133, 251)
HSLhsl(278, 94%, 75%)
HSVhsv(278, 47%, 98%)
CMYKcmyk(17.5%, 47%, 0%, 1.6%)
CIE-LABlab(67.28, 48.73, -47.97)
CIE-LCHlch(67.28, 68.38, 315.45°)
OKLaboklab(73.8% 0.1189 -0.1336)
OKLCHoklch(73.8% 0.179 311.7)
XYZxyz(51.5292, 37.0065, 95.6765)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF85FB #B1FB85
analogous
#9485FB #CF85FB #FB85EC
triadic
#CF85FB #FBCF85 #85FBCF
tetradic
#CF85FB #FB9485 #B1FB85 #85ECFB
square
#CF85FB #FB9485 #B1FB85 #85ECFB
split-complementary
#CF85FB #ECFB85 #85FB94
monochromatic
#A00EF7 #B84AF9 #CF85FB #E6C0FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.40
#CF85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF85FB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF85FB#FFFFFF#000000##000000
##CF85FB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#CA98B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf85fb;
/* rgb */ color: rgb(207, 133, 251);
/* oklch */ color: oklch(73.8% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#e0aafd',
    500: '#cf85fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf85fb;
$custom-light: #e0aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf85fb",
  "rgb": {
    "r": 207,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 277.627,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.17884,
    "h": 311.7
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

primary
#CF85FB
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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