#CF93FB#CF93FB

#CF93FB is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.156 H 309.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CF93FB
RGBrgb(207, 147, 251)
HSLhsl(275, 93%, 78%)
HSVhsv(275, 41%, 98%)
CMYKcmyk(17.5%, 41.4%, 0%, 1.6%)
CIE-LABlab(70.24, 41.28, -43.32)
CIE-LCHlch(70.24, 59.84, 313.62°)
OKLaboklab(76.02% 0.0997 -0.1202)
OKLCHoklch(76.02% 0.156 309.7)
XYZxyz(53.5752, 41.0986, 96.3586)
Luminance0.4110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FB #BFFB93
analogous
#9B93FB #CF93FB #FB93F3
triadic
#CF93FB #FBCF93 #93FBCF
tetradic
#CF93FB #FB9B93 #BFFB93 #93F3FB
square
#CF93FB #FB9B93 #BFFB93 #93F3FB
split-complementary
#CF93FB #F3FB93 #93FB9B
monochromatic
#9B1DF7 #B558F9 #CF93FB #E9CEFD #F2E1FE

Accessibility & contrast

On white

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

On black

9.22
#CF93FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FB#FFFFFF#000000##000000
##CF93FB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#CAA3BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf93fb;
/* rgb */ color: rgb(207, 147, 251);
/* oklch */ color: oklch(76.0% 0.156 309.7);
Tailwind
colors: {
  custom: {
    50: '#dfb3fd',
    500: '#cf93fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf93fb;
$custom-light: #dfb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93fb",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 274.615,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76022,
    "c": 0.15619,
    "h": 309.7
  },
  "luminance": 0.41098
}

Semantic roles & 50–950 ramp

primary
#CF93FB
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF93FB

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

Preview Lab → · Contrast checker → · Palette generator →

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