#CF2FFB#CF2FFB

#CF2FFB is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 64.4% C 0.286 H 317.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CF2FFB
RGBrgb(207, 47, 251)
HSLhsl(287, 96%, 58%)
HSVhsv(287, 81%, 98%)
CMYKcmyk(17.5%, 81.3%, 0%, 1.6%)
CIE-LABlab(54.31, 84.20, -68.69)
CIE-LCHlch(54.31, 108.67, 320.79°)
OKLaboklab(64.41% 0.2099 -0.1937)
OKLCHoklch(64.41% 0.286 317.3)
XYZxyz(44.1587, 22.2655, 93.2197)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2FFB #5BFB2F
analogous
#692FFB #CF2FFB #FB2FC1
triadic
#CF2FFB #FBCF2F #2FFBCF
tetradic
#CF2FFB #FB692F #5BFB2F #2FC1FB
square
#CF2FFB #FB692F #5BFB2F #2FC1FB
split-complementary
#CF2FFB #C1FB2F #2FFB69
monochromatic
#8803AC #B704E8 #CF2FFB #DD6BFC #EBA7FD

Accessibility & contrast

On white

3.85
#CF2FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CF2FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2FFB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2FFB#FFFFFF#000000##000000
##CF2FFB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#3486F7
Tritanopia (blue-blind)
#CD6198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf2ffb;
/* rgb */ color: rgb(207, 47, 251);
/* oklch */ color: oklch(64.4% 0.286 317.3);
Tailwind
colors: {
  custom: {
    50: '#e37cfe',
    500: '#cf2ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ffb;
$custom-light: #e37cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ffb",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 251
  },
  "hsl": {
    "h": 287.059,
    "s": 96.226,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.2856,
    "h": 317.3
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#CF2FFB
secondary
#ACEB9A
accent
#FF2957
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #CF2FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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