#CF5DFA#CF5DFA

#CF5DFA is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.237 H 315.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#CF5DFA
RGBrgb(207, 93, 250)
HSLhsl(284, 94%, 67%)
HSVhsv(284, 63%, 98%)
CMYKcmyk(17.2%, 62.8%, 0%, 2%)
CIE-LABlab(59.89, 68.01, -59.16)
CIE-LCHlch(59.89, 90.14, 318.98°)
OKLaboklab(68.36% 0.169 -0.166)
OKLCHoklch(68.36% 0.237 315.5)
XYZxyz(46.8991, 27.9979, 93.3576)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DFA #88FA5D
analogous
#815DFA #CF5DFA #FA5DD6
triadic
#CF5DFA #FACF5D #5DFACF
tetradic
#CF5DFA #FA815D #88FA5D #5DD6FA
square
#CF5DFA #FA815D #88FA5D #5DD6FA
split-complementary
#CF5DFA #D6FA5D #5DFA81
monochromatic
#9D07D6 #BD22F8 #CF5DFA #E198FC #F2D4FE

Accessibility & contrast

On white

3.18
#CF5DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#CF5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DFA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DFA#FFFFFF#000000##000000
##CF5DFA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#CC7AA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5dfa;
/* rgb */ color: rgb(207, 93, 250);
/* oklch */ color: oklch(68.4% 0.237 315.5);
Tailwind
colors: {
  custom: {
    50: '#e192fd',
    500: '#cf5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dfa;
$custom-light: #e192fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dfa",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 283.567,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68359,
    "c": 0.23687,
    "h": 315.5
  },
  "luminance": 0.27996
}

Semantic roles & 50–950 ramp

primary
#CF5DFA
secondary
#CEF2C1
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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