#C285ED#C285ED

#C285ED is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.8% C 0.158 H 310.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C285ED
RGBrgb(194, 133, 237)
HSLhsl(275, 74%, 73%)
HSVhsv(275, 44%, 93%)
CMYKcmyk(18.1%, 43.9%, 0%, 7.1%)
CIE-LABlab(65.25, 42.13, -43.58)
CIE-LCHlch(65.25, 60.61, 314.03°)
OKLaboklab(71.76% 0.1016 -0.1212)
OKLCHoklch(71.76% 0.158 310)
XYZxyz(45.9189, 34.3595, 84.3174)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C285ED #B0ED85
analogous
#8E85ED #C285ED #ED85E4
triadic
#C285ED #EDC285 #85EDC2
tetradic
#C285ED #ED8E85 #B0ED85 #85E4ED
square
#C285ED #ED8E85 #B0ED85 #85E4ED
split-complementary
#C285ED #E4ED85 #85ED8E
monochromatic
#8C20D8 #A750E5 #C285ED #DDBAF5 #F2E4FB

Accessibility & contrast

On white

2.67
#C285ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C285ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C285ED
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C285ED#FFFFFF#000000##000000
##C285ED1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#7E9FEA
Tritanopia (blue-blind)
#BD95AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c285ed;
/* rgb */ color: rgb(194, 133, 237);
/* oklch */ color: oklch(71.8% 0.158 310.0);
Tailwind
colors: {
  custom: {
    50: '#d6aaf3',
    500: '#c285ed',
    950: '#000000',
  },
}
SCSS
$custom: #c285ed;
$custom-light: #d6aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c285ed",
  "rgb": {
    "r": 194,
    "g": 133,
    "b": 237
  },
  "hsl": {
    "h": 275.192,
    "s": 74.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7176,
    "c": 0.15812,
    "h": 310
  },
  "luminance": 0.34359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C285ED

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

Preview Lab → · Contrast checker → · Palette generator →

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