#CF74FA#CF74FA

#CF74FA is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.3% C 0.204 H 313.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CF74FA
RGBrgb(207, 116, 250)
HSLhsl(281, 93%, 72%)
HSVhsv(281, 54%, 98%)
CMYKcmyk(17.2%, 53.6%, 0%, 2%)
CIE-LABlab(63.88, 57.22, -52.80)
CIE-LCHlch(63.88, 77.85, 317.30°)
OKLaboklab(71.27% 0.1412 -0.1475)
OKLCHoklch(71.27% 0.204 313.7)
XYZxyz(49.2300, 32.6596, 94.1346)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74FA #9FFA74
analogous
#8C74FA #CF74FA #FA74E2
triadic
#CF74FA #FACF74 #74FACF
tetradic
#CF74FA #FA8C74 #9FFA74 #74E2FA
square
#CF74FA #FA8C74 #9FFA74 #74E2FA
split-complementary
#CF74FA #E2FA74 #74FA8C
monochromatic
#A208EB #BB39F8 #CF74FA #E3AFFC #F5E1FE

Accessibility & contrast

On white

2.79
#CF74FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CF74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74FA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74FA#FFFFFF#000000##000000
##CF74FA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#CB8AAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf74fa;
/* rgb */ color: rgb(207, 116, 250);
/* oklch */ color: oklch(71.3% 0.204 313.7);
Tailwind
colors: {
  custom: {
    50: '#e09ffc',
    500: '#cf74fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf74fa;
$custom-light: #e09ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74fa",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 280.746,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.20421,
    "h": 313.7
  },
  "luminance": 0.32658
}

Semantic roles & 50–950 ramp

primary
#CF74FA
secondary
#DFF6D4
accent
#E6004A
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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