#CF93FF#CF93FF

#CF93FF is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.2% C 0.161 H 308.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CF93FF
RGBrgb(207, 147, 255)
HSLhsl(273, 100%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(18.8%, 42.4%, 0%, 0%)
CIE-LABlab(70.42, 42.15, -45.22)
CIE-LCHlch(70.42, 61.81, 312.99°)
OKLaboklab(76.21% 0.1004 -0.1257)
OKLCHoklch(76.21% 0.161 308.6)
XYZxyz(54.2124, 41.3535, 99.7144)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93FF #C3FF93
analogous
#9993FF #CF93FF #FF93F9
triadic
#CF93FF #FFCF93 #93FFCF
tetradic
#CF93FF #FF9993 #C3FF93 #93F9FF
square
#CF93FF #FF9993 #C3FF93 #93F9FF
split-complementary
#CF93FF #F9FF93 #93FF99
monochromatic
#9919FF #B456FF #CF93FF #EAD0FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.27
#CF93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93FF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93FF#FFFFFF#000000##000000
##CF93FF1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#C9A4BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf93ff;
/* rgb */ color: rgb(207, 147, 255);
/* oklch */ color: oklch(76.2% 0.161 308.6);
Tailwind
colors: {
  custom: {
    50: '#dfb4ff',
    500: '#cf93ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf93ff;
$custom-light: #dfb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93ff",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 273.333,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76214,
    "c": 0.16087,
    "h": 308.6
  },
  "luminance": 0.41353
}

Semantic roles & 50–950 ramp

primary
#CF93FF
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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