#CF94FE#CF94FE

#CF94FE is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.3% C 0.158 H 308.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CF94FE
RGBrgb(207, 148, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(18.5%, 41.7%, 0%, 0.4%)
CIE-LABlab(70.60, 41.39, -44.40)
CIE-LCHlch(70.60, 60.70, 312.99°)
OKLaboklab(76.33% 0.0989 -0.1233)
OKLCHoklch(76.33% 0.158 308.7)
XYZxyz(54.2080, 41.6016, 98.9209)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94FE #C3FE94
analogous
#9A94FE #CF94FE #FE94F8
triadic
#CF94FE #FECF94 #94FECF
tetradic
#CF94FE #FE9A94 #C3FE94 #94F8FE
square
#CF94FE #FE9A94 #C3FE94 #94F8FE
split-complementary
#CF94FE #F8FE94 #94FE9A
monochromatic
#991BFD #B457FD #CF94FE #EAD1FF #F1E1FF

Accessibility & contrast

On white

2.25
#CF94FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CF94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF94FE
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF94FE#FFFFFF#000000##000000
##CF94FE1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8BAEFB
Tritanopia (blue-blind)
#C9A4BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf94fe;
/* rgb */ color: rgb(207, 148, 254);
/* oklch */ color: oklch(76.3% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#dfb4ff',
    500: '#cf94fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf94fe;
$custom-light: #dfb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94fe",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 273.396,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76329,
    "c": 0.15807,
    "h": 308.7
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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