#CF94F2#CF94F2

#CF94F2 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.144 H 312.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CF94F2
RGBrgb(207, 148, 242)
HSLhsl(278, 78%, 76%)
HSVhsv(278, 39%, 95%)
CMYKcmyk(14.5%, 38.8%, 0%, 5.1%)
CIE-LABlab(70.08, 38.83, -38.67)
CIE-LCHlch(70.08, 54.80, 315.11°)
OKLaboklab(75.77% 0.0966 -0.1068)
OKLCHoklch(75.77% 0.144 312.1)
XYZxyz(52.3463, 40.8569, 89.1158)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94F2 #B7F294
analogous
#A094F2 #CF94F2 #F294E6
triadic
#CF94F2 #F2CF94 #94F2CF
tetradic
#CF94F2 #F2A094 #B7F294 #94E6F2
square
#CF94F2 #F2A094 #B7F294 #94E6F2
split-complementary
#CF94F2 #E6F294 #94F2A0
monochromatic
#9E27E5 #B75DEB #CF94F2 #E7CBF9 #F3E4FC

Accessibility & contrast

On white

2.29
#CF94F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CF94F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF94F2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF94F2#FFFFFF#000000##000000
##CF94F21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#91ADEF
Tritanopia (blue-blind)
#CCA1B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf94f2;
/* rgb */ color: rgb(207, 148, 242);
/* oklch */ color: oklch(75.8% 0.144 312.1);
Tailwind
colors: {
  custom: {
    50: '#dfb4f6',
    500: '#cf94f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf94f2;
$custom-light: #dfb4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94f2",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 277.66,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75767,
    "c": 0.14406,
    "h": 312.1
  },
  "luminance": 0.40856
}

Semantic roles & 50–950 ramp

primary
#CF94F2
secondary
#E2F3D8
accent
#DB0B58
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CF94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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