#6950E1#6950E1

#6950E1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.2% C 0.210 H 284.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6950E1
RGBrgb(105, 80, 225)
HSLhsl(250, 71%, 60%)
HSVhsv(250, 64%, 88%)
CMYKcmyk(53.3%, 64.4%, 0%, 11.8%)
CIE-LABlab(44.48, 47.59, -70.59)
CIE-LCHlch(44.48, 85.13, 303.99°)
OKLaboklab(54.17% 0.0538 -0.2027)
OKLCHoklch(54.17% 0.21 284.9)
XYZxyz(22.2809, 14.1756, 72.7817)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950E1 #C8E150
analogous
#507FE1 #6950E1 #B250E1
triadic
#6950E1 #E16950 #50E169
tetradic
#6950E1 #E1507F #C8E150 #50E1B2
square
#6950E1 #E1507F #C8E150 #50E1B2
split-complementary
#6950E1 #E1B250 #7FE150
monochromatic
#311B9C #4124D0 #6950E1 #9684EA #C3B8F3

Accessibility & contrast

On white

5.48
#6950E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6950E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950E1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950E1#FFFFFF#000000##FFFFFF
##6950E11.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#367491
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6950e1;
/* rgb */ color: rgb(105, 80, 225);
/* oklch */ color: oklch(54.2% 0.210 284.9);
Tailwind
colors: {
  custom: {
    50: '#9e83eb',
    500: '#6950e1',
    950: '#000000',
  },
}
SCSS
$custom: #6950e1;
$custom-light: #9e83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6950e1",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 250.345,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.20973,
    "h": 284.9
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#6950E1
secondary
#D9E2AA
accent
#ED3ACF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6950E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6950E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva