#C299FB#C299FB

#C299FB is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.8% C 0.143 H 302.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#C299FB
RGBrgb(194, 153, 251)
HSLhsl(265, 92%, 79%)
HSVhsv(265, 39%, 98%)
CMYKcmyk(22.7%, 39%, 0%, 1.6%)
CIE-LABlab(70.33, 34.33, -43.28)
CIE-LCHlch(70.33, 55.24, 308.42°)
OKLaboklab(75.79% 0.0764 -0.1204)
OKLCHoklch(75.79% 0.143 302.4)
XYZxyz(51.0482, 41.2168, 96.5144)
Luminance0.4122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299FB #D2FB99
analogous
#99A1FB #C299FB #F399FB
triadic
#C299FB #FBC299 #99FBC2
tetradic
#C299FB #FB99A1 #D2FB99 #99FBF3
square
#C299FB #FB99A1 #D2FB99 #99FBF3
split-complementary
#C299FB #FBF399 #A1FB99
monochromatic
#7C23F6 #9F5EF9 #C299FB #E5D4FD #EDE2FE

Accessibility & contrast

On white

2.27
#C299FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#C299FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299FB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299FB#FFFFFF#000000##000000
##C299FB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#B8A9BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c299fb;
/* rgb */ color: rgb(194, 153, 251);
/* oklch */ color: oklch(75.8% 0.143 302.4);
Tailwind
colors: {
  custom: {
    50: '#d6b7fd',
    500: '#c299fb',
    950: '#000000',
  },
}
SCSS
$custom: #c299fb;
$custom-light: #d6b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c299fb",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 265.102,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75793,
    "c": 0.14259,
    "h": 302.4
  },
  "luminance": 0.41217
}

Semantic roles & 50–950 ramp

primary
#C299FB
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299FB

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

Preview Lab → · Contrast checker → · Palette generator →

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