#C98EF0#C98EF0

#C98EF0 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.1% C 0.149 H 310.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C98EF0
RGBrgb(201, 142, 240)
HSLhsl(276, 77%, 75%)
HSVhsv(276, 41%, 94%)
CMYKcmyk(16.3%, 40.8%, 0%, 5.9%)
CIE-LABlab(68.06, 39.90, -40.77)
CIE-LCHlch(68.06, 57.05, 314.39°)
OKLaboklab(74.08% 0.0977 -0.1129)
OKLCHoklch(74.08% 0.149 310.9)
XYZxyz(49.4858, 38.0556, 87.1597)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EF0 #B5F08E
analogous
#988EF0 #C98EF0 #F08EE6
triadic
#C98EF0 #F0C98E #8EF0C9
tetradic
#C98EF0 #F0988E #B5F08E #8EE6F0
square
#C98EF0 #F0988E #B5F08E #8EE6F0
split-complementary
#C98EF0 #E6F08E #8EF098
monochromatic
#9522E2 #AF58E9 #C98EF0 #E3C4F7 #F2E4FB

Accessibility & contrast

On white

2.44
#C98EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C98EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EF0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EF0#FFFFFF#000000##000000
##C98EF01.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F4
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#C59CB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c98ef0;
/* rgb */ color: rgb(201, 142, 240);
/* oklch */ color: oklch(74.1% 0.149 310.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0f5',
    500: '#c98ef0',
    950: '#000000',
  },
}
SCSS
$custom: #c98ef0;
$custom-light: #dbb0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ef0",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 276.122,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74082,
    "c": 0.14937,
    "h": 310.9
  },
  "luminance": 0.38055
}

Semantic roles & 50–950 ramp

primary
#C98EF0
secondary
#E3F3D8
accent
#D90D5E
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #C98EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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