#CF93FC#CF93FC

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

Color values

HEX#CF93FC
RGBrgb(207, 147, 252)
HSLhsl(274, 95%, 78%)
HSVhsv(274, 42%, 99%)
CMYKcmyk(17.9%, 41.7%, 0%, 1.2%)
CIE-LABlab(70.29, 41.50, -43.79)
CIE-LCHlch(70.29, 60.33, 313.46°)
OKLaboklab(76.07% 0.0999 -0.1216)
OKLCHoklch(76.07% 0.157 309.4)
XYZxyz(53.7333, 41.1618, 97.1909)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FC #C0FC93
analogous
#9A93FC #CF93FC #FC93F4
triadic
#CF93FC #FCCF93 #93FCCF
tetradic
#CF93FC #FC9A93 #C0FC93 #93F4FC
square
#CF93FC #FC9A93 #C0FC93 #93F4FC
split-complementary
#CF93FC #F4FC93 #93FC9A
monochromatic
#9A1CF9 #B557FA #CF93FC #E9CFFE #F2E1FE

Accessibility & contrast

On white

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

On black

9.23
#CF93FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FC#FFFFFF#000000##000000
##CF93FC1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf93fc;
/* rgb */ color: rgb(207, 147, 252);
/* oklch */ color: oklch(76.1% 0.157 309.4);
Tailwind
colors: {
  custom: {
    50: '#dfb4fe',
    500: '#cf93fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf93fc;
$custom-light: #dfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93fc",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 274.286,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7607,
    "c": 0.15736,
    "h": 309.4
  },
  "luminance": 0.41161
}

Semantic roles & 50–950 ramp

primary
#CF93FC
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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