#CF91F7#CF91F7

#CF91F7 is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.5% C 0.155 H 311.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CF91F7
RGBrgb(207, 145, 247)
HSLhsl(276, 86%, 77%)
HSVhsv(276, 41%, 97%)
CMYKcmyk(16.2%, 41.3%, 0%, 3.1%)
CIE-LABlab(69.63, 41.50, -42.09)
CIE-LCHlch(69.63, 59.11, 314.59°)
OKLaboklab(75.51% 0.1018 -0.1167)
OKLCHoklch(75.51% 0.155 311.1)
XYZxyz(52.6431, 40.2325, 92.9701)
Luminance0.4023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91F7 #B9F791
analogous
#9C91F7 #CF91F7 #F791EC
triadic
#CF91F7 #F7CF91 #91F7CF
tetradic
#CF91F7 #F79C91 #B9F791 #91ECF7
square
#CF91F7 #F79C91 #B9F791 #91ECF7
split-complementary
#CF91F7 #ECF791 #91F79C
monochromatic
#9D1FEF #B658F3 #CF91F7 #E8CAFB #F3E2FD

Accessibility & contrast

On white

2.32
#CF91F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CF91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91F7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91F7#FFFFFF#000000##000000
##CF91F71.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#CBA0B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf91f7;
/* rgb */ color: rgb(207, 145, 247);
/* oklch */ color: oklch(75.5% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#dfb2fa',
    500: '#cf91f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf91f7;
$custom-light: #dfb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91f7",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 276.471,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.15483,
    "h": 311.1
  },
  "luminance": 0.40232
}

Semantic roles & 50–950 ramp

primary
#CF91F7
secondary
#E2F5D6
accent
#E3035B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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