#CF91F2#CF91F2

#CF91F2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.149 H 312.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CF91F2
RGBrgb(207, 145, 242)
HSLhsl(278, 79%, 76%)
HSVhsv(278, 40%, 95%)
CMYKcmyk(14.5%, 40.1%, 0%, 5.1%)
CIE-LABlab(69.42, 40.45, -39.70)
CIE-LCHlch(69.42, 56.67, 315.53°)
OKLaboklab(75.27% 0.1009 -0.1098)
OKLCHoklch(75.27% 0.149 312.6)
XYZxyz(51.8818, 39.9280, 88.9610)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91F2 #B4F291
analogous
#9E91F2 #CF91F2 #F291E4
triadic
#CF91F2 #F2CF91 #91F2CF
tetradic
#CF91F2 #F29E91 #B4F291 #91E4F2
square
#CF91F2 #F29E91 #B4F291 #91E4F2
split-complementary
#CF91F2 #E4F291 #91F29E
monochromatic
#9F24E5 #B75AEC #CF91F2 #E7C8F8 #F3E4FC

Accessibility & contrast

On white

2.34
#CF91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#CF91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91F2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91F2#FFFFFF#000000##000000
##CF91F21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#CC9FB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf91f2;
/* rgb */ color: rgb(207, 145, 242);
/* oklch */ color: oklch(75.3% 0.149 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfb2f6',
    500: '#cf91f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf91f2;
$custom-light: #dfb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91f2",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 278.351,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75271,
    "c": 0.14907,
    "h": 312.6
  },
  "luminance": 0.39927
}

Semantic roles & 50–950 ramp

primary
#CF91F2
secondary
#E2F4D7
accent
#DB0A56
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CF91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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