#C285EF#C285EF

#C285EF is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.9% C 0.160 H 309.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C285EF
RGBrgb(194, 133, 239)
HSLhsl(275, 77%, 73%)
HSVhsv(275, 44%, 94%)
CMYKcmyk(18.8%, 44.4%, 0%, 6.3%)
CIE-LABlab(65.34, 42.57, -44.54)
CIE-LCHlch(65.34, 61.61, 313.70°)
OKLaboklab(71.86% 0.1019 -0.1239)
OKLCHoklch(71.86% 0.16 309.4)
XYZxyz(46.2127, 34.4770, 85.8649)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285EF #B2EF85
analogous
#8D85EF #C285EF #EF85E7
triadic
#C285EF #EFC285 #85EFC2
tetradic
#C285EF #EF8D85 #B2EF85 #85E7EF
square
#C285EF #EF8D85 #B2EF85 #85E7EF
split-complementary
#C285EF #E7EF85 #85EF8D
monochromatic
#8B1DDD #A74FE8 #C285EF #DDBBF6 #F1E4FB

Accessibility & contrast

On white

2.66
#C285EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C285EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285EF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285EF#FFFFFF#000000##000000
##C285EF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#7CA0EC
Tritanopia (blue-blind)
#BC96AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c285ef;
/* rgb */ color: rgb(194, 133, 239);
/* oklch */ color: oklch(71.9% 0.160 309.4);
Tailwind
colors: {
  custom: {
    50: '#d6aaf4',
    500: '#c285ef',
    950: '#000000',
  },
}
SCSS
$custom: #c285ef;
$custom-light: #d6aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c285ef",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 274.528,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.16045,
    "h": 309.4
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#C285EF
secondary
#E3F3D8
accent
#D90C63
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C285EF

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

Preview Lab → · Contrast checker → · Palette generator →

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