#C285F9#C285F9

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

Color values

HEX#C285F9
RGBrgb(194, 133, 249)
HSLhsl(272, 91%, 75%)
HSVhsv(272, 47%, 98%)
CMYKcmyk(22.1%, 46.6%, 0%, 2.4%)
CIE-LABlab(65.81, 44.78, -49.28)
CIE-LCHlch(65.81, 66.59, 312.26°)
OKLaboklab(72.37% 0.1033 -0.1377)
OKLCHoklch(72.37% 0.172 306.9)
XYZxyz(47.7311, 35.0844, 93.8616)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285F9 #BCF985
analogous
#8885F9 #C285F9 #F985F6
triadic
#C285F9 #F9C285 #85F9C2
tetradic
#C285F9 #F98885 #BCF985 #85F6F9
square
#C285F9 #F98885 #BCF985 #85F6F9
split-complementary
#C285F9 #F6F985 #85F988
monochromatic
#8810F3 #A54BF6 #C285F9 #DFBFFC #F0E2FE

Accessibility & contrast

On white

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

On black

8.02
#C285F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285F9
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285F9#FFFFFF#000000##000000
##C285F91.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#BA98B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c285f9;
/* rgb */ color: rgb(194, 133, 249);
/* oklch */ color: oklch(72.4% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#d7aafc',
    500: '#c285f9',
    950: '#000000',
  },
}
SCSS
$custom: #c285f9;
$custom-light: #d7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c285f9",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 271.552,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72369,
    "c": 0.17216,
    "h": 306.9
  },
  "luminance": 0.35084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C285F9

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

Preview Lab → · Contrast checker → · Palette generator →

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