#CF95FA#CF95FA

#CF95FA is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.3% C 0.152 H 309.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CF95FA
RGBrgb(207, 149, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 40%, 98%)
CMYKcmyk(17.2%, 40.4%, 0%, 2%)
CIE-LABlab(70.64, 39.99, -42.16)
CIE-LCHlch(70.64, 58.11, 313.49°)
OKLaboklab(76.3% 0.0968 -0.1169)
OKLCHoklch(76.3% 0.152 309.6)
XYZxyz(53.7317, 41.6631, 95.6351)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95FA #C0FA95
analogous
#9C95FA #CF95FA #FA95F3
triadic
#CF95FA #FACF95 #95FACF
tetradic
#CF95FA #FA9C95 #C0FA95 #95F3FA
square
#CF95FA #FA9C95 #C0FA95 #95F3FA
split-complementary
#CF95FA #F3FA95 #95FA9C
monochromatic
#9A20F4 #B55BF7 #CF95FA #E9CFFD #F2E2FE

Accessibility & contrast

On white

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

On black

9.33
#CF95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95FA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95FA#FFFFFF#000000##000000
##CF95FA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#CAA4BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95fa;
/* rgb */ color: rgb(207, 149, 250);
/* oklch */ color: oklch(76.3% 0.152 309.6);
Tailwind
colors: {
  custom: {
    50: '#dfb5fc',
    500: '#cf95fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf95fa;
$custom-light: #dfb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95fa",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 274.455,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76303,
    "c": 0.15173,
    "h": 309.6
  },
  "luminance": 0.41662
}

Semantic roles & 50–950 ramp

primary
#CF95FA
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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