#CF74F8#CF74F8

#CF74F8 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.2% C 0.202 H 314.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CF74F8
RGBrgb(207, 116, 248)
HSLhsl(281, 90%, 71%)
HSVhsv(281, 53%, 97%)
CMYKcmyk(16.5%, 53.2%, 0%, 2.7%)
CIE-LABlab(63.78, 56.80, -51.86)
CIE-LCHlch(63.78, 76.92, 317.61°)
OKLaboklab(71.17% 0.141 -0.1448)
OKLCHoklch(71.17% 0.202 314.2)
XYZxyz(48.9180, 32.5349, 92.4917)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74F8 #9DF874
analogous
#8D74F8 #CF74F8 #F874DF
triadic
#CF74F8 #F8CF74 #74F8CF
tetradic
#CF74F8 #F88D74 #9DF874 #74DFF8
square
#CF74F8 #F88D74 #9DF874 #74DFF8
split-complementary
#CF74F8 #DFF874 #74F88D
monochromatic
#A20CE6 #BB3AF5 #CF74F8 #E3AEFB #F5E2FE

Accessibility & contrast

On white

2.80
#CF74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CF74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74F8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74F8#FFFFFF#000000##000000
##CF74F81.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#CC8AAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf74f8;
/* rgb */ color: rgb(207, 116, 248);
/* oklch */ color: oklch(71.2% 0.202 314.2);
Tailwind
colors: {
  custom: {
    50: '#e09ffb',
    500: '#cf74f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf74f8;
$custom-light: #e09ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74f8",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 281.364,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.20214,
    "h": 314.2
  },
  "luminance": 0.32533
}

Semantic roles & 50–950 ramp

primary
#CF74F8
secondary
#DDF5D3
accent
#E60047
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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