#CF5BFA#CF5BFA

#CF5BFA is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.239 H 315.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CF5BFA
RGBrgb(207, 91, 250)
HSLhsl(284, 94%, 67%)
HSVhsv(284, 64%, 98%)
CMYKcmyk(17.2%, 63.6%, 0%, 2%)
CIE-LABlab(59.57, 68.87, -59.67)
CIE-LCHlch(59.57, 91.12, 319.10°)
OKLaboklab(68.13% 0.1712 -0.1675)
OKLCHoklch(68.13% 0.239 315.6)
XYZxyz(46.7258, 27.6514, 93.2998)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BFA #86FA5B
analogous
#805BFA #CF5BFA #FA5BD5
triadic
#CF5BFA #FACF5B #5BFACF
tetradic
#CF5BFA #FA805B #86FA5B #5BD5FA
square
#CF5BFA #FA805B #86FA5B #5BD5FA
split-complementary
#CF5BFA #D5FA5B #5BFA80
monochromatic
#9D06D4 #BE20F8 #CF5BFA #E096FC #F2D2FE

Accessibility & contrast

On white

3.22
#CF5BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CF5BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BFA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BFA#FFFFFF#000000##000000
##CF5BFA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#CC79A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5bfa;
/* rgb */ color: rgb(207, 91, 250);
/* oklch */ color: oklch(68.1% 0.239 315.6);
Tailwind
colors: {
  custom: {
    50: '#e190fd',
    500: '#cf5bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bfa;
$custom-light: #e190fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bfa",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 283.774,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.23949,
    "h": 315.6
  },
  "luminance": 0.2765
}

Semantic roles & 50–950 ramp

primary
#CF5BFA
secondary
#CDF2BF
accent
#E6003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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