#C985F7#C985F7

#C985F7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.172 H 310.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C985F7
RGBrgb(201, 133, 247)
HSLhsl(276, 88%, 75%)
HSVhsv(276, 46%, 97%)
CMYKcmyk(18.6%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.45, 46.24, -47.14)
CIE-LCHlch(66.45, 66.03, 314.45°)
OKLaboklab(72.98% 0.1113 -0.1313)
OKLCHoklch(72.98% 0.172 310.3)
XYZxyz(49.2603, 35.9088, 92.3137)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C985F7 #B3F785
analogous
#9085F7 #C985F7 #F785EC
triadic
#C985F7 #F7C985 #85F7C9
tetradic
#C985F7 #F79085 #B3F785 #85ECF7
square
#C985F7 #F79085 #B3F785 #85ECF7
split-complementary
#C985F7 #ECF785 #85F790
monochromatic
#9612EF #B04CF3 #C985F7 #E2BEFB #F2E2FD

Accessibility & contrast

On white

2.57
#C985F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C985F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C985F7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C985F7#FFFFFF#000000##000000
##C985F71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#C497B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c985f7;
/* rgb */ color: rgb(201, 133, 247);
/* oklch */ color: oklch(73.0% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbaafa',
    500: '#c985f7',
    950: '#000000',
  },
}
SCSS
$custom: #c985f7;
$custom-light: #dbaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#c985f7",
  "rgb": {
    "r": 201,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 275.789,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72978,
    "c": 0.17214,
    "h": 310.3
  },
  "luminance": 0.35908
}

Semantic roles & 50–950 ramp

primary
#C985F7
secondary
#E2F5D6
accent
#E4015D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C985F7

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

Preview Lab → · Contrast checker → · Palette generator →

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