#CF93FD#CF93FD

#CF93FD is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.1% C 0.159 H 309.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CF93FD
RGBrgb(207, 147, 253)
HSLhsl(274, 96%, 78%)
HSVhsv(274, 42%, 99%)
CMYKcmyk(18.2%, 41.9%, 0%, 0.8%)
CIE-LABlab(70.33, 41.71, -44.27)
CIE-LCHlch(70.33, 60.82, 313.30°)
OKLaboklab(76.12% 0.1001 -0.1229)
OKLCHoklch(76.12% 0.159 309.1)
XYZxyz(53.8922, 41.2254, 98.0277)
Luminance0.4123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FD #C1FD93
analogous
#9A93FD #CF93FD #FD93F6
triadic
#CF93FD #FDCF93 #93FDCF
tetradic
#CF93FD #FD9A93 #C1FD93 #93F6FD
square
#CF93FD #FD9A93 #C1FD93 #93F6FD
split-complementary
#CF93FD #F6FD93 #93FD9A
monochromatic
#9A1BFB #B457FC #CF93FD #EACFFE #F2E1FE

Accessibility & contrast

On white

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

On black

9.24
#CF93FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FD
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FD#FFFFFF#000000##000000
##CF93FD1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C9A3BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf93fd;
/* rgb */ color: rgb(207, 147, 253);
/* oklch */ color: oklch(76.1% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#dfb4fe',
    500: '#cf93fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf93fd;
$custom-light: #dfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93fd",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 273.962,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.15853,
    "h": 309.1
  },
  "luminance": 0.41225
}

Semantic roles & 50–950 ramp

primary
#CF93FD
secondary
#E3F7D4
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF93FD

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

Preview Lab → · Contrast checker → · Palette generator →

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