#C698EF#C698EF

#C698EF is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.4% C 0.130 H 307.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C698EF
RGBrgb(198, 152, 239)
HSLhsl(272, 73%, 77%)
HSVhsv(272, 36%, 94%)
CMYKcmyk(17.2%, 36.4%, 0%, 6.3%)
CIE-LABlab(69.96, 33.36, -37.28)
CIE-LCHlch(69.96, 50.02, 311.82°)
OKLaboklab(75.44% 0.0799 -0.103)
OKLCHoklch(75.44% 0.13 307.8)
XYZxyz(50.0940, 40.6947, 86.8605)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C698EF #C1EF98
analogous
#9B98EF #C698EF #EF98ED
triadic
#C698EF #EFC698 #98EFC6
tetradic
#C698EF #EF9B98 #C1EF98 #98EDEF
square
#C698EF #EF9B98 #C1EF98 #98EDEF
split-complementary
#C698EF #EDEF98 #98EF9B
monochromatic
#8B2EDF #A963E7 #C698EF #E3CDF7 #F0E5FB

Accessibility & contrast

On white

2.30
#C698EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#C698EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C698EF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C698EF#FFFFFF#000000##000000
##C698EF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#90ACED
Tritanopia (blue-blind)
#C1A5B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c698ef;
/* rgb */ color: rgb(198, 152, 239);
/* oklch */ color: oklch(75.4% 0.130 307.8);
Tailwind
colors: {
  custom: {
    50: '#d8b7f4',
    500: '#c698ef',
    950: '#000000',
  },
}
SCSS
$custom: #c698ef;
$custom-light: #d8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c698ef",
  "rgb": {
    "r": 198,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 271.724,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.13041,
    "h": 307.8
  },
  "luminance": 0.40694
}

Semantic roles & 50–950 ramp

primary
#C698EF
secondary
#E5F3D8
accent
#D5106D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C698EF

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

Preview Lab → · Contrast checker → · Palette generator →

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