#CF94FA#CF94FA

#CF94FA is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.153 H 309.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CF94FA
RGBrgb(207, 148, 250)
HSLhsl(275, 91%, 78%)
HSVhsv(275, 41%, 98%)
CMYKcmyk(17.2%, 40.8%, 0%, 2%)
CIE-LABlab(70.42, 40.53, -42.50)
CIE-LCHlch(70.42, 58.73, 313.64°)
OKLaboklab(76.14% 0.0982 -0.1179)
OKLCHoklch(76.14% 0.153 309.8)
XYZxyz(53.5742, 41.3481, 95.5826)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94FA #BFFA94
analogous
#9C94FA #CF94FA #FA94F2
triadic
#CF94FA #FACF94 #94FACF
tetradic
#CF94FA #FA9C94 #BFFA94 #94F2FA
square
#CF94FA #FA9C94 #BFFA94 #94F2FA
split-complementary
#CF94FA #F2FA94 #94FA9C
monochromatic
#9B1FF5 #B55AF7 #CF94FA #E9CEFD #F2E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF94FA#FFFFFF#000000##000000
##CF94FA1.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)
#7FA9FE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#CAA3BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf94fa;
/* rgb */ color: rgb(207, 148, 250);
/* oklch */ color: oklch(76.1% 0.153 309.8);
Tailwind
colors: {
  custom: {
    50: '#dfb4fc',
    500: '#cf94fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf94fa;
$custom-light: #dfb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94fa",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 274.706,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76139,
    "c": 0.15338,
    "h": 309.8
  },
  "luminance": 0.41347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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