#CF74FB#CF74FB

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

Color values

HEX#CF74FB
RGBrgb(207, 116, 251)
HSLhsl(280, 94%, 72%)
HSVhsv(280, 54%, 98%)
CMYKcmyk(17.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.94, 57.42, -53.27)
CIE-LCHlch(63.94, 78.32, 317.15°)
OKLaboklab(71.33% 0.1412 -0.1489)
OKLCHoklch(71.33% 0.205 313.5)
XYZxyz(49.3872, 32.7225, 94.9625)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74FB #A0FB74
analogous
#8B74FB #CF74FB #FB74E4
triadic
#CF74FB #FBCF74 #74FBCF
tetradic
#CF74FB #FB8B74 #A0FB74 #74E4FB
square
#CF74FB #FB8B74 #A0FB74 #74E4FB
split-complementary
#CF74FB #E4FB74 #74FB8B
monochromatic
#A207EE #BA39F9 #CF74FB #E4AFFD #F5E1FE

Accessibility & contrast

On white

2.78
#CF74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CF74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74FB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74FB#FFFFFF#000000##000000
##CF74FB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#CB8AAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf74fb;
/* rgb */ color: rgb(207, 116, 251);
/* oklch */ color: oklch(71.3% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#e09ffd',
    500: '#cf74fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf74fb;
$custom-light: #e09ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74fb",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 280.444,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71328,
    "c": 0.20525,
    "h": 313.5
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

primary
#CF74FB
secondary
#E0F6D4
accent
#E6004B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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