#CF2EFF#CF2EFF

#CF2EFF is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 64.6% C 0.289 H 316.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CF2EFF
RGBrgb(207, 46, 255)
HSLhsl(286, 100%, 59%)
HSVhsv(286, 82%, 100%)
CMYKcmyk(18.8%, 82%, 0%, 0%)
CIE-LABlab(54.49, 85.15, -70.61)
CIE-LCHlch(54.49, 110.62, 320.33°)
OKLaboklab(64.62% 0.2098 -0.1993)
OKLCHoklch(64.62% 0.289 316.5)
XYZxyz(44.7563, 22.4413, 96.5624)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EFF #5EFF2E
analogous
#672EFF #CF2EFF #FF2EC7
triadic
#CF2EFF #FFCF2E #2EFFCF
tetradic
#CF2EFF #FF672E #5EFF2E #2EC7FF
square
#CF2EFF #FF672E #5EFF2E #2EC7FF
split-complementary
#CF2EFF #C7FF2E #2EFF67
monochromatic
#8A00B3 #B900F0 #CF2EFF #DD6BFF #EBA8FF

Accessibility & contrast

On white

3.83
#CF2EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CF2EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EFF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EFF#FFFFFF#000000##000000
##CF2EFF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#2C87FB
Tritanopia (blue-blind)
#CC639B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf2eff;
/* rgb */ color: rgb(207, 46, 255);
/* oklch */ color: oklch(64.6% 0.289 316.5);
Tailwind
colors: {
  custom: {
    50: '#e37cff',
    500: '#cf2eff',
    950: '#000000',
  },
}
SCSS
$custom: #cf2eff;
$custom-light: #e37cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2eff",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 286.22,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.28937,
    "h": 316.5
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#CF2EFF
secondary
#AEED9B
accent
#FF295A
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #CF2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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