#CF89F7#CF89F7

#CF89F7 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.2% C 0.168 H 312.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CF89F7
RGBrgb(207, 137, 247)
HSLhsl(278, 87%, 75%)
HSVhsv(278, 45%, 97%)
CMYKcmyk(16.2%, 44.5%, 0%, 3.1%)
CIE-LABlab(67.93, 45.77, -44.77)
CIE-LCHlch(67.93, 64.03, 315.63°)
OKLaboklab(74.22% 0.1129 -0.1243)
OKLCHoklch(74.22% 0.168 312.2)
XYZxyz(51.4634, 37.8731, 92.5769)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89F7 #B1F789
analogous
#9889F7 #CF89F7 #F789E8
triadic
#CF89F7 #F7CF89 #89F7CF
tetradic
#CF89F7 #F79889 #B1F789 #89E8F7
square
#CF89F7 #F79889 #B1F789 #89E8F7
split-complementary
#CF89F7 #E8F789 #89F798
monochromatic
#A016EF #B850F3 #CF89F7 #E6C2FB #F3E2FD

Accessibility & contrast

On white

2.45
#CF89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CF89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89F7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89F7#FFFFFF#000000##000000
##CF89F71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#CB9AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf89f7;
/* rgb */ color: rgb(207, 137, 247);
/* oklch */ color: oklch(74.2% 0.168 312.2);
Tailwind
colors: {
  custom: {
    50: '#dfadfa',
    500: '#cf89f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf89f7;
$custom-light: #dfadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89f7",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 278.182,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74225,
    "c": 0.16794,
    "h": 312.2
  },
  "luminance": 0.37872
}

Semantic roles & 50–950 ramp

primary
#CF89F7
secondary
#E1F5D6
accent
#E40254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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