#C98EF2#C98EF2

#C98EF2 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.2% C 0.152 H 310.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#C98EF2
RGBrgb(201, 142, 242)
HSLhsl(275, 79%, 75%)
HSVhsv(275, 41%, 95%)
CMYKcmyk(16.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(68.15, 40.33, -41.73)
CIE-LCHlch(68.15, 58.03, 314.03°)
OKLaboklab(74.18% 0.0981 -0.1157)
OKLCHoklch(74.18% 0.152 310.3)
XYZxyz(49.7845, 38.1751, 88.7331)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EF2 #B7F28E
analogous
#978EF2 #C98EF2 #F28EE9
triadic
#C98EF2 #F2C98E #8EF2C9
tetradic
#C98EF2 #F2978E #B7F28E #8EE9F2
square
#C98EF2 #F2978E #B7F28E #8EE9F2
split-complementary
#C98EF2 #E9F28E #8EF297
monochromatic
#9520E5 #AF57EC #C98EF2 #E3C5F8 #F2E4FC

Accessibility & contrast

On white

2.43
#C98EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#C98EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EF2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EF2#FFFFFF#000000##000000
##C98EF21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#C49DB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c98ef2;
/* rgb */ color: rgb(201, 142, 242);
/* oklch */ color: oklch(74.2% 0.152 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbb0f6',
    500: '#c98ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c98ef2;
$custom-light: #dbb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ef2",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 275.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74177,
    "c": 0.15171,
    "h": 310.3
  },
  "luminance": 0.38174
}

Semantic roles & 50–950 ramp

primary
#C98EF2
secondary
#E3F4D7
accent
#DC0A60
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #C98EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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