#CF93FA#CF93FA

#CF93FA is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.155 H 309.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CF93FA
RGBrgb(207, 147, 250)
HSLhsl(275, 91%, 78%)
HSVhsv(275, 41%, 98%)
CMYKcmyk(17.2%, 41.2%, 0%, 2%)
CIE-LABlab(70.20, 41.07, -42.84)
CIE-LCHlch(70.20, 59.35, 313.79°)
OKLaboklab(75.97% 0.0995 -0.1188)
OKLCHoklch(75.97% 0.155 309.9)
XYZxyz(53.4180, 41.0357, 95.5306)
Luminance0.4103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FA #BEFA93
analogous
#9B93FA #CF93FA #FA93F2
triadic
#CF93FA #FACF93 #93FACF
tetradic
#CF93FA #FA9B93 #BEFA93 #93F2FA
square
#CF93FA #FA9B93 #BEFA93 #93F2FA
split-complementary
#CF93FA #F2FA93 #93FA9B
monochromatic
#9B1EF5 #B559F7 #CF93FA #E9CDFD #F2E2FE

Accessibility & contrast

On white

2.28
#CF93FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CF93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FA#FFFFFF#000000##000000
##CF93FA1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#CAA2BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf93fa;
/* rgb */ color: rgb(207, 147, 250);
/* oklch */ color: oklch(76.0% 0.155 309.9);
Tailwind
colors: {
  custom: {
    50: '#dfb3fc',
    500: '#cf93fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf93fa;
$custom-light: #dfb3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93fa",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 274.951,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75974,
    "c": 0.15502,
    "h": 309.9
  },
  "luminance": 0.41035
}

Semantic roles & 50–950 ramp

primary
#CF93FA
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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