#C285FA#C285FA

#C285FA is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.4% C 0.173 H 306.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#C285FA
RGBrgb(194, 133, 250)
HSLhsl(271, 92%, 75%)
HSVhsv(271, 47%, 98%)
CMYKcmyk(22.4%, 46.8%, 0%, 2%)
CIE-LABlab(65.86, 45.00, -49.76)
CIE-LCHlch(65.86, 67.09, 312.13°)
OKLaboklab(72.42% 0.1034 -0.1391)
OKLCHoklch(72.42% 0.173 306.6)
XYZxyz(47.8875, 35.1469, 94.6852)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285FA #BDFA85
analogous
#8785FA #C285FA #FA85F8
triadic
#C285FA #FAC285 #85FAC2
tetradic
#C285FA #FA8785 #BDFA85 #85F8FA
square
#C285FA #FA8785 #BDFA85 #85F8FA
split-complementary
#C285FA #F8FA85 #85FA87
monochromatic
#870FF5 #A54AF8 #C285FA #DFC0FC #F0E2FE

Accessibility & contrast

On white

2.62
#C285FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#C285FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285FA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285FA#FFFFFF#000000##000000
##C285FA1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#76A1F7
Tritanopia (blue-blind)
#BA99B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c285fa;
/* rgb */ color: rgb(194, 133, 250);
/* oklch */ color: oklch(72.4% 0.173 306.6);
Tailwind
colors: {
  custom: {
    50: '#d7aafc',
    500: '#c285fa',
    950: '#000000',
  },
}
SCSS
$custom: #c285fa;
$custom-light: #d7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c285fa",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 271.282,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.17333,
    "h": 306.6
  },
  "luminance": 0.35147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C285FA

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

Preview Lab → · Contrast checker → · Palette generator →

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