#C298EA#C298EA

#C298EA is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.8% C 0.123 H 307.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#C298EA
RGBrgb(194, 152, 234)
HSLhsl(271, 66%, 76%)
HSVhsv(271, 35%, 92%)
CMYKcmyk(17.1%, 35%, 0%, 8.2%)
CIE-LABlab(69.37, 31.07, -35.48)
CIE-LCHlch(69.37, 47.17, 311.21°)
OKLaboklab(74.83% 0.0742 -0.098)
OKLCHoklch(74.83% 0.123 307.1)
XYZxyz(48.3248, 39.8667, 82.9752)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C298EA #C0EA98
analogous
#9998EA #C298EA #EA98E9
triadic
#C298EA #EAC298 #98EAC2
tetradic
#C298EA #EA9998 #C0EA98 #98E9EA
square
#C298EA #EA9998 #C0EA98 #98E9EA
split-complementary
#C298EA #E9EA98 #98EA99
monochromatic
#8632D5 #A465E0 #C298EA #E0CBF4 #F0E6FA

Accessibility & contrast

On white

2.34
#C298EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#C298EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C298EA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C298EA#FFFFFF#000000##000000
##C298EA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#BDA4B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c298ea;
/* rgb */ color: rgb(194, 152, 234);
/* oklch */ color: oklch(74.8% 0.123 307.1);
Tailwind
colors: {
  custom: {
    50: '#d5b6f1',
    500: '#c298ea',
    950: '#000000',
  },
}
SCSS
$custom: #c298ea;
$custom-light: #d5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c298ea",
  "rgb": {
    "r": 194,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 270.732,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.1229,
    "h": 307.1
  },
  "luminance": 0.39866
}

Semantic roles & 50–950 ramp

primary
#C298EA
secondary
#E5F1DA
accent
#CE1871
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C298EA

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

Preview Lab → · Contrast checker → · Palette generator →

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