#CF89F8#CF89F8

#CF89F8 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.3% C 0.169 H 312.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CF89F8
RGBrgb(207, 137, 248)
HSLhsl(278, 89%, 75%)
HSVhsv(278, 45%, 97%)
CMYKcmyk(16.5%, 44.8%, 0%, 2.7%)
CIE-LABlab(67.97, 45.98, -45.25)
CIE-LCHlch(67.97, 64.51, 315.46°)
OKLaboklab(74.27% 0.113 -0.1257)
OKLCHoklch(74.27% 0.169 312)
XYZxyz(51.6181, 37.9350, 93.3917)
Luminance0.3793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89F8 #B2F889
analogous
#9789F8 #CF89F8 #F889E9
triadic
#CF89F8 #F8CF89 #89F8CF
tetradic
#CF89F8 #F89789 #B2F889 #89E9F8
square
#CF89F8 #F89789 #B2F889 #89E9F8
split-complementary
#CF89F8 #E9F889 #89F897
monochromatic
#A015F1 #B74FF5 #CF89F8 #E7C3FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.59
#CF89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF89F8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF89F8#FFFFFF#000000##000000
##CF89F81.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#CB9AB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf89f8;
/* rgb */ color: rgb(207, 137, 248);
/* oklch */ color: oklch(74.3% 0.169 312.0);
Tailwind
colors: {
  custom: {
    50: '#dfadfb',
    500: '#cf89f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf89f8;
$custom-light: #dfadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89f8",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 277.838,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.16906,
    "h": 312
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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