#C998F0#C998F0

#C998F0 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.8% C 0.133 H 309.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C998F0
RGBrgb(201, 152, 240)
HSLhsl(273, 75%, 77%)
HSVhsv(273, 37%, 94%)
CMYKcmyk(16.3%, 36.7%, 0%, 5.9%)
CIE-LABlab(70.29, 34.46, -37.29)
CIE-LCHlch(70.29, 50.77, 312.74°)
OKLaboklab(75.77% 0.0836 -0.103)
OKLCHoklch(75.77% 0.133 309.1)
XYZxyz(51.0409, 41.1658, 87.6781)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C998F0 #BFF098
analogous
#9D98F0 #C998F0 #F098EB
triadic
#C998F0 #F0C998 #98F0C9
tetradic
#C998F0 #F09D98 #BFF098 #98EBF0
square
#C998F0 #F09D98 #BFF098 #98EBF0
split-complementary
#C998F0 #EBF098 #98F09D
monochromatic
#912DE0 #AD63E8 #C998F0 #E5CDF8 #F1E4FB

Accessibility & contrast

On white

2.27
#C998F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C998F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C998F0
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C998F0#FFFFFF#000000##000000
##C998F01.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF3
Deuteranopia (green-blind)
#92ADED
Tritanopia (blue-blind)
#C4A5B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c998f0;
/* rgb */ color: rgb(201, 152, 240);
/* oklch */ color: oklch(75.8% 0.133 309.1);
Tailwind
colors: {
  custom: {
    50: '#dab7f5',
    500: '#c998f0',
    950: '#000000',
  },
}
SCSS
$custom: #c998f0;
$custom-light: #dab7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c998f0",
  "rgb": {
    "r": 201,
    "g": 152,
    "b": 240
  },
  "hsl": {
    "h": 273.409,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75767,
    "c": 0.13267,
    "h": 309.1
  },
  "luminance": 0.41165
}

Semantic roles & 50–950 ramp

primary
#C998F0
secondary
#E4F3D8
accent
#D70F67
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C998F0

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

Preview Lab → · Contrast checker → · Palette generator →

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