#CF5FFA#CF5FFA

#CF5FFA is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.6% C 0.234 H 315.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CF5FFA
RGBrgb(207, 95, 250)
HSLhsl(283, 94%, 68%)
HSVhsv(283, 62%, 98%)
CMYKcmyk(17.2%, 62%, 0%, 2%)
CIE-LABlab(60.21, 67.13, -58.65)
CIE-LCHlch(60.21, 89.14, 318.85°)
OKLaboklab(68.59% 0.1667 -0.1645)
OKLCHoklch(68.59% 0.234 315.4)
XYZxyz(47.0769, 28.3536, 93.4169)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FFA #8AFA5F
analogous
#825FFA #CF5FFA #FA5FD7
triadic
#CF5FFA #FACF5F #5FFACF
tetradic
#CF5FFA #FA825F #8AFA5F #5FD7FA
square
#CF5FFA #FA825F #8AFA5F #5FD7FA
split-complementary
#CF5FFA #D7FA5F #5FFA82
monochromatic
#9E07D8 #BD24F8 #CF5FFA #E19AFC #F3D6FE

Accessibility & contrast

On white

3.15
#CF5FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#CF5FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FFA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FFA#FFFFFF#000000##000000
##CF5FFA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#268BFF
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#CC7BA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf5ffa;
/* rgb */ color: rgb(207, 95, 250);
/* oklch */ color: oklch(68.6% 0.234 315.4);
Tailwind
colors: {
  custom: {
    50: '#e193fd',
    500: '#cf5ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ffa;
$custom-light: #e193fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ffa",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 283.355,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.23421,
    "h": 315.4
  },
  "luminance": 0.28352
}

Semantic roles & 50–950 ramp

primary
#CF5FFA
secondary
#D0F2C2
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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