#CF5CF2#CF5CF2

#CF5CF2 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.231 H 317.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CF5CF2
RGBrgb(207, 92, 242)
HSLhsl(286, 85%, 65%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.5%, 62%, 0%, 5.1%)
CIE-LABlab(59.28, 66.89, -55.70)
CIE-LCHlch(59.28, 87.04, 320.22°)
OKLaboklab(67.78% 0.1702 -0.1559)
OKLCHoklch(67.78% 0.231 317.5)
XYZxyz(45.5840, 27.3323, 86.8617)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CF2 #7FF25C
analogous
#845CF2 #CF5CF2 #F25CCA
triadic
#CF5CF2 #F2CF5C #5CF2CF
tetradic
#CF5CF2 #F2845C #7FF25C #5CCAF2
square
#CF5CF2 #F2845C #7FF25C #5CCAF2
split-complementary
#CF5CF2 #CAF25C #5CF284
monochromatic
#9A10C4 #BE23ED #CF5CF2 #E095F7 #F0CDFB

Accessibility & contrast

On white

3.25
#CF5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CF5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CF2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CF2#FFFFFF#000000##000000
##CF5CF21.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#CE769F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5cf2;
/* rgb */ color: rgb(207, 92, 242);
/* oklch */ color: oklch(67.8% 0.231 317.5);
Tailwind
colors: {
  custom: {
    50: '#e191f7',
    500: '#cf5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cf2;
$custom-light: #e191f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cf2",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 286,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67776,
    "c": 0.23077,
    "h": 317.5
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#CF5CF2
secondary
#C8EEBC
accent
#E20438
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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