#C285FC#C285FC

#C285FC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.176 H 306.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#C285FC
RGBrgb(194, 133, 252)
HSLhsl(271, 95%, 75%)
HSVhsv(271, 47%, 99%)
CMYKcmyk(23%, 47.2%, 0%, 1.2%)
CIE-LABlab(65.96, 45.45, -50.70)
CIE-LCHlch(65.96, 68.09, 311.88°)
OKLaboklab(72.53% 0.1037 -0.1418)
OKLCHoklch(72.53% 0.176 306.2)
XYZxyz(48.2027, 35.2730, 96.3456)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285FC #BFFC85
analogous
#8685FC #C285FC #FC85FB
triadic
#C285FC #FCC285 #85FCC2
tetradic
#C285FC #FC8685 #BFFC85 #85FBFC
square
#C285FC #FC8685 #BFFC85 #85FBFC
split-complementary
#C285FC #FBFC85 #85FC86
monochromatic
#860EF9 #A449FB #C285FC #E0C1FD #F0E1FE

Accessibility & contrast

On white

2.61
#C285FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#C285FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285FC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285FC#FFFFFF#000000##000000
##C285FC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#B999B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c285fc;
/* rgb */ color: rgb(194, 133, 252);
/* oklch */ color: oklch(72.5% 0.176 306.2);
Tailwind
colors: {
  custom: {
    50: '#d7aafe',
    500: '#c285fc',
    950: '#000000',
  },
}
SCSS
$custom: #c285fc;
$custom-light: #d7aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c285fc",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 270.756,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.17567,
    "h": 306.2
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

primary
#C285FC
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C285FC

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

Preview Lab → · Contrast checker → · Palette generator →

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