#6954CB#6954CB

#6954CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.1% C 0.177 H 286.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6954CB
RGBrgb(105, 84, 203)
HSLhsl(251, 53%, 56%)
HSVhsv(251, 59%, 80%)
CMYKcmyk(48.3%, 58.6%, 0%, 20.4%)
CIE-LABlab(43.73, 38.79, -59.21)
CIE-LCHlch(43.73, 70.79, 303.23°)
OKLaboklab(53.11% 0.0513 -0.1693)
OKLCHoklch(53.11% 0.177 286.8)
XYZxyz(19.7724, 13.6548, 58.0822)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954CB #B6CB54
analogous
#547BCB #6954CB #A554CB
triadic
#6954CB #CB6954 #54CB69
tetradic
#6954CB #CB547B #B6CB54 #54CBA5
square
#6954CB #CB547B #B6CB54 #54CBA5
split-complementary
#6954CB #CBA554 #7BCB54
monochromatic
#36267E #4A35AD #6954CB #9283D9 #BBB2E8

Accessibility & contrast

On white

5.63
#6954CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6954CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954CB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954CB#FFFFFF#000000##FFFFFF
##6954CB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6954cb;
/* rgb */ color: rgb(105, 84, 203);
/* oklch */ color: oklch(53.1% 0.177 286.8);
Tailwind
colors: {
  custom: {
    50: '#9b85dc',
    500: '#6954cb',
    950: '#000000',
  },
}
SCSS
$custom: #6954cb;
$custom-light: #9b85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6954cb",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 250.588,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.17685,
    "h": 286.8
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#6954CB
secondary
#CDD6A5
accent
#DD4BC3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6954CB

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

Preview Lab → · Contrast checker → · Palette generator →

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