#CF93FE#CF93FE

#CF93FE is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.2% C 0.160 H 308.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CF93FE
RGBrgb(207, 147, 254)
HSLhsl(274, 98%, 79%)
HSVhsv(274, 42%, 100%)
CMYKcmyk(18.5%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.38, 41.93, -44.74)
CIE-LCHlch(70.38, 61.32, 313.14°)
OKLaboklab(76.17% 0.1002 -0.1243)
OKLCHoklch(76.17% 0.16 308.9)
XYZxyz(54.0519, 41.2893, 98.8689)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FE #C2FE93
analogous
#9993FE #CF93FE #FE93F7
triadic
#CF93FE #FECF93 #93FECF
tetradic
#CF93FE #FE9993 #C2FE93 #93F7FE
square
#CF93FE #FE9993 #C2FE93 #93F7FE
split-complementary
#CF93FE #F7FE93 #93FE99
monochromatic
#991AFD #B456FD #CF93FE #EAD0FF #F2E1FF

Accessibility & contrast

On white

2.27
#CF93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CF93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FE#FFFFFF#000000##000000
##CF93FE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#C9A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf93fe;
/* rgb */ color: rgb(207, 147, 254);
/* oklch */ color: oklch(76.2% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#dfb4ff',
    500: '#cf93fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf93fe;
$custom-light: #dfb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93fe",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 273.645,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76166,
    "c": 0.1597,
    "h": 308.9
  },
  "luminance": 0.41289
}

Semantic roles & 50–950 ramp

primary
#CF93FE
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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