#C285E4#C285E4

#C285E4 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.3% C 0.148 H 312.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C285E4
RGBrgb(194, 133, 228)
HSLhsl(279, 64%, 71%)
HSVhsv(279, 42%, 89%)
CMYKcmyk(14.9%, 41.7%, 0%, 10.6%)
CIE-LABlab(64.84, 40.20, -39.24)
CIE-LCHlch(64.84, 56.17, 315.69°)
OKLaboklab(71.32% 0.1001 -0.1086)
OKLCHoklch(71.32% 0.148 312.6)
XYZxyz(44.6369, 33.8467, 77.5654)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285E4 #A7E485
analogous
#9285E4 #C285E4 #E485D6
triadic
#C285E4 #E4C285 #85E4C2
tetradic
#C285E4 #E49285 #A7E485 #85D6E4
square
#C285E4 #E49285 #A7E485 #85D6E4
split-complementary
#C285E4 #D6E485 #85E492
monochromatic
#8D2BC3 #A953D9 #C285E4 #DBB7EF #F2E6F9

Accessibility & contrast

On white

2.70
#C285E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C285E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285E4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285E4#FFFFFF#000000##000000
##C285E41.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#829FE1
Tritanopia (blue-blind)
#BF93AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c285e4;
/* rgb */ color: rgb(194, 133, 228);
/* oklch */ color: oklch(71.3% 0.148 312.6);
Tailwind
colors: {
  custom: {
    50: '#d6a9ed',
    500: '#c285e4',
    950: '#000000',
  },
}
SCSS
$custom: #c285e4;
$custom-light: #d6a9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c285e4",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 228
  },
  "hsl": {
    "h": 278.526,
    "s": 63.758,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.1477,
    "h": 312.6
  },
  "luminance": 0.33846
}

Semantic roles & 50–950 ramp

primary
#C285E4
secondary
#DFEFD6
accent
#CC1A5A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C285E4

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

Preview Lab → · Contrast checker → · Palette generator →

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