#CF74F0#CF74F0

#CF74F0 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.194 H 316.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CF74F0
RGBrgb(207, 116, 240)
HSLhsl(284, 81%, 70%)
HSVhsv(284, 52%, 94%)
CMYKcmyk(13.7%, 51.7%, 0%, 5.9%)
CIE-LABlab(63.38, 55.18, -48.07)
CIE-LCHlch(63.38, 73.18, 318.94°)
OKLaboklab(70.74% 0.1404 -0.1338)
OKLCHoklch(70.74% 0.194 316.4)
XYZxyz(47.7033, 32.0490, 86.0944)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74F0 #95F074
analogous
#9174F0 #CF74F0 #F074D3
triadic
#CF74F0 #F0CF74 #74F0CF
tetradic
#CF74F0 #F09174 #95F074 #74D3F0
square
#CF74F0 #F09174 #95F074 #74D3F0
split-complementary
#CF74F0 #D3F074 #74F091
monochromatic
#A117D3 #BC3DEA #CF74F0 #E2ABF6 #F5E2FC

Accessibility & contrast

On white

2.83
#CF74F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CF74F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74F0
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74F0#FFFFFF#000000##000000
##CF74F01.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#CE87A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf74f0;
/* rgb */ color: rgb(207, 116, 240);
/* oklch */ color: oklch(70.7% 0.194 316.4);
Tailwind
colors: {
  custom: {
    50: '#e09ff5',
    500: '#cf74f0',
    950: '#000000',
  },
}
SCSS
$custom: #cf74f0;
$custom-light: #e09ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74f0",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 284.032,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.19392,
    "h": 316.4
  },
  "luminance": 0.32047
}

Semantic roles & 50–950 ramp

primary
#CF74F0
secondary
#D8F1CE
accent
#DD0941
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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