#6951EA#6951EA

#6951EA is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.220 H 283.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6951EA
RGBrgb(105, 81, 234)
HSLhsl(249, 78%, 62%)
HSVhsv(249, 65%, 92%)
CMYKcmyk(55.1%, 65.4%, 0%, 8.2%)
CIE-LABlab(45.40, 49.69, -74.19)
CIE-LCHlch(45.40, 89.30, 303.81°)
OKLaboklab(55.05% 0.0519 -0.2133)
OKLCHoklch(55.05% 0.22 283.7)
XYZxyz(23.6149, 14.8272, 79.4435)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951EA #D2EA51
analogous
#5186EA #6951EA #B651EA
triadic
#6951EA #EA6951 #51EA69
tetradic
#6951EA #EA5186 #D2EA51 #51EAB6
square
#6951EA #EA5186 #D2EA51 #51EAB6
split-complementary
#6951EA #EAB651 #86EA51
monochromatic
#2C15AC #3B1BE2 #6951EA #9888F1 #C7BEF7

Accessibility & contrast

On white

5.30
#6951EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6951EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951EA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951EA#FFFFFF#000000##FFFFFF
##6951EA1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#2B7897
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6951ea;
/* rgb */ color: rgb(105, 81, 234);
/* oklch */ color: oklch(55.0% 0.220 283.7);
Tailwind
colors: {
  custom: {
    50: '#9f83f2',
    500: '#6951ea',
    950: '#000000',
  },
}
SCSS
$custom: #6951ea;
$custom-light: #9f83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6951ea",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 249.412,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.21952,
    "h": 283.7
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#6951EA
secondary
#DFE8AF
accent
#DB0BBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6951EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6951EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva