#CF5FE3#CF5FE3

#CF5FE3 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.213 H 321.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CF5FE3
RGBrgb(207, 95, 227)
HSLhsl(291, 70%, 63%)
HSVhsv(291, 58%, 89%)
CMYKcmyk(8.8%, 58.1%, 0%, 11%)
CIE-LABlab(58.97, 62.72, -47.81)
CIE-LCHlch(58.97, 78.86, 322.68°)
OKLaboklab(67.3% 0.1662 -0.1329)
OKLCHoklch(67.3% 0.213 321.3)
XYZxyz(43.6879, 26.9979, 75.5681)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FE3 #73E35F
analogous
#8D5FE3 #CF5FE3 #E35FB5
triadic
#CF5FE3 #E3CF5F #5FE3CF
tetradic
#CF5FE3 #E38D5F #73E35F #5FB5E3
square
#CF5FE3 #E38D5F #73E35F #5FB5E3
split-complementary
#CF5FE3 #B5E35F #5FE38D
monochromatic
#951EAA #BF2BDA #CF5FE3 #DF93EC #EEC7F5

Accessibility & contrast

On white

3.28
#CF5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CF5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FE3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FE3#FFFFFF#000000##000000
##CF5FE31.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#6D92E0
Tritanopia (blue-blind)
#D17398
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5fe3;
/* rgb */ color: rgb(207, 95, 227);
/* oklch */ color: oklch(67.3% 0.213 321.3);
Tailwind
colors: {
  custom: {
    50: '#e192ec',
    500: '#cf5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fe3;
$custom-light: #e192ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fe3",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 290.909,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.2128,
    "h": 321.3
  },
  "luminance": 0.26996
}

Semantic roles & 50–950 ramp

primary
#CF5FE3
secondary
#BEE7B7
accent
#D21330
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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