#C285EB#C285EB

#C285EB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.7% C 0.156 H 310.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C285EB
RGBrgb(194, 133, 235)
HSLhsl(276, 72%, 72%)
HSVhsv(276, 43%, 92%)
CMYKcmyk(17.4%, 43.4%, 0%, 7.8%)
CIE-LABlab(65.16, 41.70, -42.62)
CIE-LCHlch(65.16, 59.62, 314.37°)
OKLaboklab(71.66% 0.1013 -0.1184)
OKLCHoklch(71.66% 0.156 310.5)
XYZxyz(45.6283, 34.2433, 82.7871)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285EB #AEEB85
analogous
#8F85EB #C285EB #EB85E1
triadic
#C285EB #EBC285 #85EBC2
tetradic
#C285EB #EB8F85 #AEEB85 #85E1EB
square
#C285EB #EB8F85 #AEEB85 #85E1EB
split-complementary
#C285EB #E1EB85 #85EB8F
monochromatic
#8C23D3 #A850E2 #C285EB #DCBAF4 #F2E5FB

Accessibility & contrast

On white

2.68
#C285EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#C285EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285EB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285EB#FFFFFF#000000##000000
##C285EB1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#BD95AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c285eb;
/* rgb */ color: rgb(194, 133, 235);
/* oklch */ color: oklch(71.7% 0.156 310.5);
Tailwind
colors: {
  custom: {
    50: '#d6aaf2',
    500: '#c285eb',
    950: '#000000',
  },
}
SCSS
$custom: #c285eb;
$custom-light: #d6aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c285eb",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 275.882,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.1558,
    "h": 310.5
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#C285EB
secondary
#E3F2D9
accent
#D41260
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C285EB

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

Preview Lab → · Contrast checker → · Palette generator →

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