#CF94FB#CF94FB

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

Color values

HEX#CF94FB
RGBrgb(207, 148, 251)
HSLhsl(274, 93%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(17.5%, 41%, 0%, 1.6%)
CIE-LABlab(70.46, 40.74, -42.98)
CIE-LCHlch(70.46, 59.22, 313.47°)
OKLaboklab(76.19% 0.0983 -0.1192)
OKLCHoklch(76.19% 0.155 309.5)
XYZxyz(53.7314, 41.4110, 96.4106)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94FB #C0FB94
analogous
#9B94FB #CF94FB #FB94F3
triadic
#CF94FB #FBCF94 #94FBCF
tetradic
#CF94FB #FB9B94 #C0FB94 #94F3FB
square
#CF94FB #FB9B94 #C0FB94 #94F3FB
split-complementary
#CF94FB #F3FB94 #94FB9B
monochromatic
#9A1EF7 #B559F9 #CF94FB #E9CFFD #F2E2FE

Accessibility & contrast

On white

2.26
#CF94FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CF94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF94FB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF94FB#FFFFFF#000000##000000
##CF94FB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf94fb;
/* rgb */ color: rgb(207, 148, 251);
/* oklch */ color: oklch(76.2% 0.155 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb4fd',
    500: '#cf94fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf94fb;
$custom-light: #dfb4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94fb",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 274.369,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76186,
    "c": 0.15455,
    "h": 309.5
  },
  "luminance": 0.4141
}

Semantic roles & 50–950 ramp

primary
#CF94FB
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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