#CF95ED#CF95ED

#CF95ED is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.7% C 0.137 H 313.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CF95ED
RGBrgb(207, 149, 237)
HSLhsl(280, 71%, 76%)
HSVhsv(280, 37%, 93%)
CMYKcmyk(12.7%, 37.1%, 0%, 7.1%)
CIE-LABlab(70.09, 37.24, -35.92)
CIE-LCHlch(70.09, 51.74, 316.04°)
OKLaboklab(75.71% 0.0942 -0.0989)
OKLCHoklch(75.71% 0.137 313.6)
XYZxyz(51.7631, 40.8757, 85.2673)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95ED #B3ED95
analogous
#A395ED #CF95ED #ED95DF
triadic
#CF95ED #EDCF95 #95EDCF
tetradic
#CF95ED #EDA395 #B3ED95 #95DFED
square
#CF95ED #EDA395 #B3ED95 #95DFED
split-complementary
#CF95ED #DFED95 #95EDA3
monochromatic
#A02CDB #B761E4 #CF95ED #E7C9F6 #F3E5FB

Accessibility & contrast

On white

2.29
#CF95ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CF95ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95ED
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95ED#FFFFFF#000000##000000
##CF95ED1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#CDA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf95ed;
/* rgb */ color: rgb(207, 149, 237);
/* oklch */ color: oklch(75.7% 0.137 313.6);
Tailwind
colors: {
  custom: {
    50: '#dfb5f3',
    500: '#cf95ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf95ed;
$custom-light: #dfb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95ed",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 279.545,
    "s": 70.968,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75709,
    "c": 0.13658,
    "h": 313.6
  },
  "luminance": 0.40875
}

Semantic roles & 50–950 ramp

primary
#CF95ED
secondary
#E1F2D9
accent
#D31354
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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