#CF96F0#CF96F0

#CF96F0 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.138 H 312.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CF96F0
RGBrgb(207, 150, 240)
HSLhsl(278, 75%, 76%)
HSVhsv(278, 38%, 94%)
CMYKcmyk(13.7%, 37.5%, 0%, 5.9%)
CIE-LABlab(70.43, 37.33, -37.02)
CIE-LCHlch(70.43, 52.57, 315.24°)
OKLaboklab(76.01% 0.0934 -0.1021)
OKLCHoklch(76.01% 0.138 312.4)
XYZxyz(52.3640, 41.3703, 87.6479)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96F0 #B7F096
analogous
#A296F0 #CF96F0 #F096E4
triadic
#CF96F0 #F0CF96 #96F0CF
tetradic
#CF96F0 #F0A296 #B7F096 #96E4F0
square
#CF96F0 #F0A296 #B7F096 #96E4F0
split-complementary
#CF96F0 #E4F096 #96F0A2
monochromatic
#9E2BE1 #B760E8 #CF96F0 #E7CCF8 #F3E4FB

Accessibility & contrast

On white

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

On black

9.27
#CF96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96F0
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96F0#FFFFFF#000000##000000
##CF96F01.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F3
Deuteranopia (green-blind)
#93AEED
Tritanopia (blue-blind)
#CCA2B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf96f0;
/* rgb */ color: rgb(207, 150, 240);
/* oklch */ color: oklch(76.0% 0.138 312.4);
Tailwind
colors: {
  custom: {
    50: '#dfb5f5',
    500: '#cf96f0',
    950: '#000000',
  },
}
SCSS
$custom: #cf96f0;
$custom-light: #dfb5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96f0",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 278,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.13836,
    "h": 312.4
  },
  "luminance": 0.41369
}

Semantic roles & 50–950 ramp

primary
#CF96F0
secondary
#E2F3D8
accent
#D70E58
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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