#CF95FB#CF95FB

#CF95FB is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.4% C 0.153 H 309.3°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CF95FB
RGBrgb(207, 149, 251)
HSLhsl(274, 93%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(17.5%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.68, 40.20, -42.64)
CIE-LCHlch(70.68, 58.60, 313.32°)
OKLaboklab(76.35% 0.097 -0.1182)
OKLCHoklch(76.35% 0.153 309.3)
XYZxyz(53.8889, 41.7260, 96.4631)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95FB #C1FB95
analogous
#9C95FB #CF95FB #FB95F4
triadic
#CF95FB #FBCF95 #95FBCF
tetradic
#CF95FB #FB9C95 #C1FB95 #95F4FB
square
#CF95FB #FB9C95 #C1FB95 #95F4FB
split-complementary
#CF95FB #F4FB95 #95FB9C
monochromatic
#9A1FF7 #B45AF9 #CF95FB #EAD0FD #F2E2FE

Accessibility & contrast

On white

2.25
#CF95FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#CF95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95FB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95FB#FFFFFF#000000##000000
##CF95FB1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#CAA4BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95fb;
/* rgb */ color: rgb(207, 149, 251);
/* oklch */ color: oklch(76.4% 0.153 309.3);
Tailwind
colors: {
  custom: {
    50: '#dfb5fd',
    500: '#cf95fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf95fb;
$custom-light: #dfb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95fb",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 274.118,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.15291,
    "h": 309.3
  },
  "luminance": 0.41725
}

Semantic roles & 50–950 ramp

primary
#CF95FB
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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