#C298FA#C298FA

#C298FA is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.6% C 0.143 H 302.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C298FA
RGBrgb(194, 152, 250)
HSLhsl(266, 91%, 79%)
HSVhsv(266, 39%, 98%)
CMYKcmyk(22.4%, 39.2%, 0%, 2%)
CIE-LABlab(70.06, 34.65, -43.16)
CIE-LCHlch(70.06, 55.35, 308.76°)
OKLaboklab(75.57% 0.0776 -0.12)
OKLCHoklch(75.57% 0.143 302.9)
XYZxyz(50.7280, 40.8280, 95.6321)
Luminance0.4083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C298FA #D0FA98
analogous
#989FFA #C298FA #F398FA
triadic
#C298FA #FAC298 #98FAC2
tetradic
#C298FA #FA989F #D0FA98 #98FAF3
square
#C298FA #FA989F #D0FA98 #98FAF3
split-complementary
#C298FA #FAF398 #9FFA98
monochromatic
#7D23F4 #9F5EF7 #C298FA #E5D2FD #EEE2FE

Accessibility & contrast

On white

2.29
#C298FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C298FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C298FA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C298FA#FFFFFF#000000##000000
##C298FA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#B9A8BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c298fa;
/* rgb */ color: rgb(194, 152, 250);
/* oklch */ color: oklch(75.6% 0.143 302.9);
Tailwind
colors: {
  custom: {
    50: '#d6b7fc',
    500: '#c298fa',
    950: '#000000',
  },
}
SCSS
$custom: #c298fa;
$custom-light: #d6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c298fa",
  "rgb": {
    "r": 194,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 265.714,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.14294,
    "h": 302.9
  },
  "luminance": 0.40828
}

Semantic roles & 50–950 ramp

primary
#C298FA
secondary
#E8F6D5
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C298FA

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

Preview Lab → · Contrast checker → · Palette generator →

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