#CF95E2#CF95E2

#CF95E2 is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.2% C 0.124 H 317.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CF95E2
RGBrgb(207, 149, 226)
HSLhsl(285, 57%, 74%)
HSVhsv(285, 34%, 89%)
CMYKcmyk(8.4%, 34.1%, 0%, 11.4%)
CIE-LABlab(69.65, 35.00, -30.56)
CIE-LCHlch(69.65, 46.47, 318.87°)
OKLaboklab(75.23% 0.0916 -0.0837)
OKLCHoklch(75.23% 0.124 317.6)
XYZxyz(50.2051, 40.2525, 77.0616)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95E2 #A8E295
analogous
#A895E2 #CF95E2 #E295CE
triadic
#CF95E2 #E2CF95 #95E2CF
tetradic
#CF95E2 #E2A895 #A8E295 #95CEE2
square
#CF95E2 #E2A895 #A8E295 #95CEE2
split-complementary
#CF95E2 #CEE295 #95E2A8
monochromatic
#A336C6 #B965D5 #CF95E2 #E5C5EF #F4E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF95E2#FFFFFF#000000##000000
##CF95E21.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)
#8AA6E5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#CF9EB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf95e2;
/* rgb */ color: rgb(207, 149, 226);
/* oklch */ color: oklch(75.2% 0.124 317.6);
Tailwind
colors: {
  custom: {
    50: '#deb5eb',
    500: '#cf95e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf95e2;
$custom-light: #deb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95e2",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 285.195,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.12408,
    "h": 317.6
  },
  "luminance": 0.40251
}

Semantic roles & 50–950 ramp

primary
#CF95E2
secondary
#E0F0DB
accent
#C52149
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF95E2

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

Preview Lab → · Contrast checker → · Palette generator →

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