#6850CD#6850CD

#6850CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.185 H 287.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6850CD
RGBrgb(104, 80, 205)
HSLhsl(252, 56%, 56%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(49.3%, 61%, 0%, 19.6%)
CIE-LABlab(42.89, 41.51, -61.73)
CIE-LCHlch(42.89, 74.39, 303.92°)
OKLaboklab(52.52% 0.0542 -0.1767)
OKLCHoklch(52.52% 0.185 287)
XYZxyz(19.5938, 13.0873, 59.2394)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6850CD #B5CD50
analogous
#5076CD #6850CD #A650CD
triadic
#6850CD #CD6850 #50CD68
tetradic
#6850CD #CD5076 #B5CD50 #50CDA6
square
#6850CD #CD5076 #B5CD50 #50CDA6
split-complementary
#6850CD #CDA650 #76CD50
monochromatic
#35247E #4A32AE #6850CD #9180DB #BAAFE8

Accessibility & contrast

On white

5.80
#6850CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6850CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6850CD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6850CD#FFFFFF#000000##FFFFFF
##6850CD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#446D87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6850cd;
/* rgb */ color: rgb(104, 80, 205);
/* oklch */ color: oklch(52.5% 0.185 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b82dd',
    500: '#6850cd',
    950: '#000000',
  },
}
SCSS
$custom: #6850cd;
$custom-light: #9b82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6850cd",
  "rgb": {
    "r": 104,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 251.52,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.18482,
    "h": 287
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#6850CD
secondary
#CCD6A2
accent
#DF49C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6850CD

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

Preview Lab → · Contrast checker → · Palette generator →

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