#C498FF#C498FF

#C498FF is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.150 H 302.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C498FF
RGBrgb(196, 152, 255)
HSLhsl(266, 100%, 80%)
HSVhsv(266, 40%, 100%)
CMYKcmyk(23.1%, 40.4%, 0%, 0%)
CIE-LABlab(70.46, 36.35, -45.23)
CIE-LCHlch(70.46, 58.03, 308.79°)
OKLaboklab(76% 0.0808 -0.126)
OKLCHoklch(76% 0.15 302.7)
XYZxyz(52.0393, 41.4123, 99.8402)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C498FF #D3FF98
analogous
#98A0FF #C498FF #F798FF
triadic
#C498FF #FFC498 #98FFC4
tetradic
#C498FF #FF98A0 #D3FF98 #98FFF7
square
#C498FF #FF98A0 #D3FF98 #98FFF7
split-complementary
#C498FF #FFF798 #A0FF98
monochromatic
#7E1EFF #A15BFF #C498FF #E7D5FF #EDE0FF

Accessibility & contrast

On white

2.26
#C498FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#C498FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C498FF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C498FF#FFFFFF#000000##000000
##C498FF1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#BAA9BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c498ff;
/* rgb */ color: rgb(196, 152, 255);
/* oklch */ color: oklch(76.0% 0.150 302.7);
Tailwind
colors: {
  custom: {
    50: '#d7b7ff',
    500: '#c498ff',
    950: '#000000',
  },
}
SCSS
$custom: #c498ff;
$custom-light: #d7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c498ff",
  "rgb": {
    "r": 196,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 265.631,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75998,
    "c": 0.14967,
    "h": 302.7
  },
  "luminance": 0.41412
}

Semantic roles & 50–950 ramp

primary
#C498FF
secondary
#E8F7D4
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C498FF

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

Preview Lab → · Contrast checker → · Palette generator →

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