#6954E7#6954E7

#6954E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.212 H 283.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6954E7
RGBrgb(105, 84, 231)
HSLhsl(249, 75%, 62%)
HSVhsv(249, 64%, 91%)
CMYKcmyk(54.5%, 63.6%, 0%, 9.4%)
CIE-LABlab(45.79, 47.12, -71.86)
CIE-LCHlch(45.79, 85.93, 303.25°)
OKLaboklab(55.26% 0.0495 -0.2064)
OKLCHoklch(55.26% 0.212 283.5)
XYZxyz(23.4154, 15.1120, 77.2689)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954E7 #D2E754
analogous
#5489E7 #6954E7 #B254E7
triadic
#6954E7 #E76954 #54E769
tetradic
#6954E7 #E75489 #D2E754 #54E7B2
square
#6954E7 #E75489 #D2E754 #54E7B2
split-complementary
#6954E7 #E7B254 #89E754
monochromatic
#2C18A9 #3B1FDF #6954E7 #988AEF #C7BFF6

Accessibility & contrast

On white

5.22
#6954E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6954E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954E7#FFFFFF#000000##FFFFFF
##6954E71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#2E7896
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6954e7;
/* rgb */ color: rgb(105, 84, 231);
/* oklch */ color: oklch(55.3% 0.212 283.5);
Tailwind
colors: {
  custom: {
    50: '#9f85f0',
    500: '#6954e7',
    950: '#000000',
  },
}
SCSS
$custom: #6954e7;
$custom-light: #9f85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6954e7",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 248.571,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.21231,
    "h": 283.5
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#6954E7
secondary
#DFE7B0
accent
#D80EBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6954E7

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

Preview Lab → · Contrast checker → · Palette generator →

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