#6850CB#6850CB

#6850CB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.182 H 287.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6850CB
RGBrgb(104, 80, 203)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.8%, 60.6%, 0%, 20.4%)
CIE-LABlab(42.75, 40.92, -60.81)
CIE-LCHlch(42.75, 73.30, 303.94°)
OKLaboklab(52.37% 0.0543 -0.174)
OKLCHoklch(52.37% 0.182 287.3)
XYZxyz(19.3539, 12.9913, 57.9761)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6850CB #B3CB50
analogous
#5076CB #6850CB #A550CB
triadic
#6850CB #CB6850 #50CB68
tetradic
#6850CB #CB5076 #B3CB50 #50CBA5
square
#6850CB #CB5076 #B3CB50 #50CBA5
split-complementary
#6850CB #CBA550 #76CB50
monochromatic
#36257C #4A33AB #6850CB #917FD9 #B9AEE7

Accessibility & contrast

On white

5.84
#6850CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6850CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6850CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6850CB#FFFFFF#000000##FFFFFF
##6850CB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#466D86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6850cb;
/* rgb */ color: rgb(104, 80, 203);
/* oklch */ color: oklch(52.4% 0.182 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b82dc',
    500: '#6850cb',
    950: '#000000',
  },
}
SCSS
$custom: #6850cb;
$custom-light: #9b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6850cb",
  "rgb": {
    "r": 104,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 251.707,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.18227,
    "h": 287.3
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#6850CB
secondary
#CBD5A2
accent
#DE4AC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6850CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6850CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva