#6854CB#6854CB

#6854CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.0% C 0.177 H 286.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6854CB
RGBrgb(104, 84, 203)
HSLhsl(250, 53%, 56%)
HSVhsv(250, 59%, 80%)
CMYKcmyk(48.8%, 58.6%, 0%, 20.4%)
CIE-LABlab(43.65, 38.58, -59.36)
CIE-LCHlch(43.65, 70.80, 303.02°)
OKLaboklab(53.02% 0.05 -0.1697)
OKLCHoklch(53.02% 0.177 286.4)
XYZxyz(19.6556, 13.5946, 58.0767)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854CB #B7CB54
analogous
#547CCB #6854CB #A454CB
triadic
#6854CB #CB6854 #54CB68
tetradic
#6854CB #CB547C #B7CB54 #54CBA4
square
#6854CB #CB547C #B7CB54 #54CBA4
split-complementary
#6854CB #CBA454 #7CCB54
monochromatic
#35267E #4935AD #6854CB #9183D9 #BBB2E8

Accessibility & contrast

On white

5.65
#6854CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6854CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854CB#FFFFFF#000000##FFFFFF
##6854CB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#456F87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6854cb;
/* rgb */ color: rgb(104, 84, 203);
/* oklch */ color: oklch(53.0% 0.177 286.4);
Tailwind
colors: {
  custom: {
    50: '#9a85dc',
    500: '#6854cb',
    950: '#000000',
  },
}
SCSS
$custom: #6854cb;
$custom-light: #9a85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6854cb",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 250.084,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.17692,
    "h": 286.4
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#6854CB
secondary
#CED6A5
accent
#DD4BC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6854CB

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

Preview Lab → · Contrast checker → · Palette generator →

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