#C288F9#C288F9

#C288F9 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.8% C 0.167 H 306.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C288F9
RGBrgb(194, 136, 249)
HSLhsl(271, 90%, 75%)
HSVhsv(271, 45%, 98%)
CMYKcmyk(22.1%, 45.4%, 0%, 2.4%)
CIE-LABlab(66.46, 43.16, -48.27)
CIE-LCHlch(66.46, 64.75, 311.80°)
OKLaboklab(72.85% 0.0993 -0.1348)
OKLCHoklch(72.85% 0.167 306.4)
XYZxyz(48.1477, 35.9176, 94.0005)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C288F9 #BFF988
analogous
#8988F9 #C288F9 #F988F8
triadic
#C288F9 #F9C288 #88F9C2
tetradic
#C288F9 #F98988 #BFF988 #88F8F9
square
#C288F9 #F98988 #BFF988 #88F8F9
split-complementary
#C288F9 #F8F988 #88F989
monochromatic
#8613F3 #A44EF6 #C288F9 #E0C2FC #F0E2FE

Accessibility & contrast

On white

2.57
#C288F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C288F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C288F9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C288F9#FFFFFF#000000##000000
##C288F91.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#BA9BB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c288f9;
/* rgb */ color: rgb(194, 136, 249);
/* oklch */ color: oklch(72.8% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#d6acfc',
    500: '#c288f9',
    950: '#000000',
  },
}
SCSS
$custom: #c288f9;
$custom-light: #d6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c288f9",
  "rgb": {
    "r": 194,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 270.796,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72849,
    "c": 0.16739,
    "h": 306.4
  },
  "luminance": 0.35917
}

Semantic roles & 50–950 ramp

primary
#C288F9
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C288F9

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

Preview Lab → · Contrast checker → · Palette generator →

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