#C985F2#C985F2

#C985F2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.166 H 311.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#C985F2
RGBrgb(201, 133, 242)
HSLhsl(277, 81%, 74%)
HSVhsv(277, 45%, 95%)
CMYKcmyk(16.9%, 45%, 0%, 5.1%)
CIE-LABlab(66.22, 45.17, -44.76)
CIE-LCHlch(66.22, 63.59, 315.26°)
OKLaboklab(72.73% 0.1106 -0.1244)
OKLCHoklch(72.73% 0.166 311.6)
XYZxyz(48.4991, 35.6043, 88.3046)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C985F2 #AEF285
analogous
#9285F2 #C985F2 #F285E5
triadic
#C985F2 #F2C985 #85F2C9
tetradic
#C985F2 #F29285 #AEF285 #85E5F2
square
#C985F2 #F29285 #AEF285 #85E5F2
split-complementary
#C985F2 #E5F285 #85F292
monochromatic
#9818E4 #B14EEC #C985F2 #E1BCF8 #F3E3FC

Accessibility & contrast

On white

2.59
#C985F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#C985F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C985F2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C985F2#FFFFFF#000000##000000
##C985F21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#C596B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c985f2;
/* rgb */ color: rgb(201, 133, 242);
/* oklch */ color: oklch(72.7% 0.166 311.6);
Tailwind
colors: {
  custom: {
    50: '#dbaaf7',
    500: '#c985f2',
    950: '#000000',
  },
}
SCSS
$custom: #c985f2;
$custom-light: #dbaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c985f2",
  "rgb": {
    "r": 201,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 277.431,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.16647,
    "h": 311.6
  },
  "luminance": 0.35603
}

Semantic roles & 50–950 ramp

primary
#C985F2
secondary
#E2F4D7
accent
#DD0858
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C985F2

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

Preview Lab → · Contrast checker → · Palette generator →

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