#CF5CF5#CF5CF5

#CF5CF5 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.234 H 316.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5CF5
RGBrgb(207, 92, 245)
HSLhsl(285, 88%, 66%)
HSVhsv(285, 62%, 96%)
CMYKcmyk(15.5%, 62.4%, 0%, 3.9%)
CIE-LABlab(59.45, 67.47, -57.10)
CIE-LCHlch(59.45, 88.39, 319.76°)
OKLaboklab(67.95% 0.1702 -0.16)
OKLCHoklch(67.95% 0.234 316.8)
XYZxyz(46.0383, 27.5140, 89.2541)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CF5 #82F55C
analogous
#825CF5 #CF5CF5 #F55CCE
triadic
#CF5CF5 #F5CF5C #5CF5CF
tetradic
#CF5CF5 #F5825C #82F55C #5CCEF5
square
#CF5CF5 #F5825C #82F55C #5CCEF5
split-complementary
#CF5CF5 #CEF55C #5CF582
monochromatic
#9B0CCA #BE22F1 #CF5CF5 #E096F9 #F1CFFC

Accessibility & contrast

On white

3.23
#CF5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CF5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CF5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CF5#FFFFFF#000000##000000
##CF5CF51.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#5E93F1
Tritanopia (blue-blind)
#CD77A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5cf5;
/* rgb */ color: rgb(207, 92, 245);
/* oklch */ color: oklch(68.0% 0.234 316.8);
Tailwind
colors: {
  custom: {
    50: '#e191f9',
    500: '#cf5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cf5;
$custom-light: #e191f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cf5",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 285.098,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6795,
    "c": 0.23355,
    "h": 316.8
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

primary
#CF5CF5
secondary
#CAF0BD
accent
#E50039
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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