#CF95FF#CF95FF

#CF95FF is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.5% C 0.158 H 308.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CF95FF
RGBrgb(207, 149, 255)
HSLhsl(273, 100%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(18.8%, 41.6%, 0%, 0%)
CIE-LABlab(70.86, 41.07, -44.53)
CIE-LCHlch(70.86, 60.58, 312.68°)
OKLaboklab(76.54% 0.0977 -0.1237)
OKLCHoklch(76.54% 0.158 308.3)
XYZxyz(54.5261, 41.9809, 99.8190)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95FF #C5FF95
analogous
#9A95FF #CF95FF #FF95FA
triadic
#CF95FF #FFCF95 #95FFCF
tetradic
#CF95FF #FF9A95 #C5FF95 #95FAFF
square
#CF95FF #FF9A95 #C5FF95 #95FAFF
split-complementary
#CF95FF #FAFF95 #95FF9A
monochromatic
#981BFF #B358FF #CF95FF #EBD2FF #F1E0FF

Accessibility & contrast

On white

2.23
#CF95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CF95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95FF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95FF#FFFFFF#000000##000000
##CF95FF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#8BAEFC
Tritanopia (blue-blind)
#C9A5BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95ff;
/* rgb */ color: rgb(207, 149, 255);
/* oklch */ color: oklch(76.5% 0.158 308.3);
Tailwind
colors: {
  custom: {
    50: '#dfb5ff',
    500: '#cf95ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf95ff;
$custom-light: #dfb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95ff",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 272.83,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.15763,
    "h": 308.3
  },
  "luminance": 0.4198
}

Semantic roles & 50–950 ramp

primary
#CF95FF
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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