#CF93EF#CF93EF

#CF93EF is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.5% C 0.142 H 313.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CF93EF
RGBrgb(207, 147, 239)
HSLhsl(279, 74%, 76%)
HSVhsv(279, 38%, 94%)
CMYKcmyk(13.4%, 38.5%, 0%, 6.3%)
CIE-LABlab(69.73, 38.74, -37.57)
CIE-LCHlch(69.73, 53.97, 315.88°)
OKLaboklab(75.46% 0.0974 -0.1037)
OKLCHoklch(75.46% 0.142 313.2)
XYZxyz(51.7433, 40.3658, 86.7102)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF93EF #B3EF93
analogous
#A193EF #CF93EF #EF93E1
triadic
#CF93EF #EFCF93 #93EFCF
tetradic
#CF93EF #EFA193 #B3EF93 #93E1EF
square
#CF93EF #EFA193 #B3EF93 #93E1EF
split-complementary
#CF93EF #E1EF93 #93EFA1
monochromatic
#A028DF #B75EE7 #CF93EF #E7C8F7 #F3E4FB

Accessibility & contrast

On white

2.31
#CF93EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#CF93EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF93EF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF93EF#FFFFFF#000000##000000
##CF93EF1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#CCA0B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf93ef;
/* rgb */ color: rgb(207, 147, 239);
/* oklch */ color: oklch(75.5% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#dfb3f4',
    500: '#cf93ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf93ef;
$custom-light: #dfb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf93ef",
  "rgb": {
    "r": 207,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 279.13,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75464,
    "c": 0.14227,
    "h": 313.2
  },
  "luminance": 0.40365
}

Semantic roles & 50–950 ramp

primary
#CF93EF
secondary
#E1F3D8
accent
#D60F54
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF93EF

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

Preview Lab → · Contrast checker → · Palette generator →

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