#CF74FE#CF74FE

#CF74FE is a light, highly saturated violet. Relative luminance 0.329; OKLCH L 71.5% C 0.208 H 312.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CF74FE
RGBrgb(207, 116, 254)
HSLhsl(280, 99%, 73%)
HSVhsv(280, 54%, 100%)
CMYKcmyk(18.5%, 54.3%, 0%, 0.4%)
CIE-LABlab(64.09, 58.04, -54.67)
CIE-LCHlch(64.09, 79.73, 316.72°)
OKLaboklab(71.49% 0.1414 -0.153)
OKLCHoklch(71.49% 0.208 312.7)
XYZxyz(49.8638, 32.9132, 97.4729)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74FE #A3FE74
analogous
#8A74FE #CF74FE #FE74E8
triadic
#CF74FE #FECF74 #74FECF
tetradic
#CF74FE #FE8A74 #A3FE74 #74E8FE
square
#CF74FE #FE8A74 #A3FE74 #74E8FE
split-complementary
#CF74FE #E8FE74 #74FE8A
monochromatic
#A302F6 #BA37FE #CF74FE #E4B1FE #F5E1FF

Accessibility & contrast

On white

2.77
#CF74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CF74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74FE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74FE#FFFFFF#000000##000000
##CF74FE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#CA8BAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf74fe;
/* rgb */ color: rgb(207, 116, 254);
/* oklch */ color: oklch(71.5% 0.208 312.7);
Tailwind
colors: {
  custom: {
    50: '#e09fff',
    500: '#cf74fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf74fe;
$custom-light: #e09fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74fe",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 279.565,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.20836,
    "h": 312.7
  },
  "luminance": 0.32912
}

Semantic roles & 50–950 ramp

primary
#CF74FE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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