#CF85FE#CF85FE

#CF85FE is a light, vivid violet. Relative luminance 0.372; OKLCH L 74.0% C 0.182 H 310.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CF85FE
RGBrgb(207, 133, 254)
HSLhsl(277, 98%, 76%)
HSVhsv(277, 48%, 100%)
CMYKcmyk(18.5%, 47.6%, 0%, 0.4%)
CIE-LABlab(67.42, 49.36, -49.39)
CIE-LCHlch(67.42, 69.83, 314.99°)
OKLaboklab(73.96% 0.1193 -0.1377)
OKLCHoklch(73.96% 0.182 310.9)
XYZxyz(52.0058, 37.1972, 98.1869)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF85FE #B4FE85
analogous
#9285FE #CF85FE #FE85F1
triadic
#CF85FE #FECF85 #85FECF
tetradic
#CF85FE #FE9285 #B4FE85 #85F1FE
square
#CF85FE #FE9285 #B4FE85 #85F1FE
split-complementary
#CF85FE #F1FE85 #85FE92
monochromatic
#9F0CFD #B748FE #CF85FE #E7C2FE #F3E1FF

Accessibility & contrast

On white

2.49
#CF85FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CF85FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF85FE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF85FE#FFFFFF#000000##000000
##CF85FE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#CA98B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf85fe;
/* rgb */ color: rgb(207, 133, 254);
/* oklch */ color: oklch(74.0% 0.182 310.9);
Tailwind
colors: {
  custom: {
    50: '#e0aaff',
    500: '#cf85fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf85fe;
$custom-light: #e0aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf85fe",
  "rgb": {
    "r": 207,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 276.694,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73957,
    "c": 0.18218,
    "h": 310.9
  },
  "luminance": 0.37196
}

Semantic roles & 50–950 ramp

primary
#CF85FE
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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