#C288F8#C288F8

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

Color values

HEX#C288F8
RGBrgb(194, 136, 248)
HSLhsl(271, 89%, 75%)
HSVhsv(271, 45%, 97%)
CMYKcmyk(21.8%, 45.2%, 0%, 2.7%)
CIE-LABlab(66.41, 42.94, -47.80)
CIE-LCHlch(66.41, 64.25, 311.93°)
OKLaboklab(72.8% 0.0991 -0.1334)
OKLCHoklch(72.8% 0.166 306.6)
XYZxyz(47.9922, 35.8554, 93.1812)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C288F8 #BEF888
analogous
#8A88F8 #C288F8 #F888F6
triadic
#C288F8 #F8C288 #88F8C2
tetradic
#C288F8 #F88A88 #BEF888 #88F6F8
square
#C288F8 #F88A88 #BEF888 #88F6F8
split-complementary
#C288F8 #F6F888 #88F88A
monochromatic
#8714F1 #A44EF5 #C288F8 #E0C2FB #F0E2FD

Accessibility & contrast

On white

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

On black

8.17
#C288F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C288F8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C288F8#FFFFFF#000000##000000
##C288F81.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#BA9AB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c288f8;
/* rgb */ color: rgb(194, 136, 248);
/* oklch */ color: oklch(72.8% 0.166 306.6);
Tailwind
colors: {
  custom: {
    50: '#d6acfb',
    500: '#c288f8',
    950: '#000000',
  },
}
SCSS
$custom: #c288f8;
$custom-light: #d6acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c288f8",
  "rgb": {
    "r": 194,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 271.071,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72798,
    "c": 0.16621,
    "h": 306.6
  },
  "luminance": 0.35855
}

Semantic roles & 50–950 ramp

primary
#C288F8
secondary
#E5F5D6
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C288F8

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

Preview Lab → · Contrast checker → · Palette generator →

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