#6951DB#6951DB

#6951DB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 53.8% C 0.201 H 285.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6951DB
RGBrgb(105, 81, 219)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.1%, 63%, 0%, 14.1%)
CIE-LABlab(44.24, 45.26, -67.58)
CIE-LCHlch(44.24, 81.33, 303.81°)
OKLaboklab(53.84% 0.0535 -0.1939)
OKLCHoklch(53.84% 0.201 285.4)
XYZxyz(21.5505, 14.0015, 68.5711)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951DB #C3DB51
analogous
#517EDB #6951DB #AE51DB
triadic
#6951DB #DB6951 #51DB69
tetradic
#6951DB #DB517E #C3DB51 #51DBAE
square
#6951DB #DB517E #C3DB51 #51DBAE
split-complementary
#6951DB #DBAE51 #7EDB51
monochromatic
#331E93 #4429C6 #6951DB #9584E5 #C0B6F0

Accessibility & contrast

On white

5.53
#6951DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6951DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951DB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951DB#FFFFFF#000000##FFFFFF
##6951DB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#3B738F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6951db;
/* rgb */ color: rgb(105, 81, 219);
/* oklch */ color: oklch(53.8% 0.201 285.4);
Tailwind
colors: {
  custom: {
    50: '#9d83e7',
    500: '#6951db',
    950: '#000000',
  },
}
SCSS
$custom: #6951db;
$custom-light: #9d83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6951db",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 250.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.20109,
    "h": 285.4
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#6951DB
secondary
#D6DFA9
accent
#E93FCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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