#6950E4#6950E4

#6950E4 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.213 H 284.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6950E4
RGBrgb(105, 80, 228)
HSLhsl(250, 73%, 60%)
HSVhsv(250, 65%, 89%)
CMYKcmyk(53.9%, 64.9%, 0%, 10.6%)
CIE-LABlab(44.72, 48.47, -71.91)
CIE-LCHlch(44.72, 86.72, 303.98°)
OKLaboklab(54.41% 0.0535 -0.2066)
OKLCHoklch(54.41% 0.213 284.5)
XYZxyz(22.6937, 14.3407, 74.9560)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950E4 #CBE450
analogous
#5081E4 #6950E4 #B350E4
triadic
#6950E4 #E46950 #50E469
tetradic
#6950E4 #E45081 #CBE450 #50E4B3
square
#6950E4 #E45081 #CBE450 #50E4B3
split-complementary
#6950E4 #E4B350 #81E450
monochromatic
#3019A1 #4021D6 #6950E4 #9685EC #C4BAF4

Accessibility & contrast

On white

5.43
#6950E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6950E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950E4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950E4#FFFFFF#000000##FFFFFF
##6950E41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#337593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6950e4;
/* rgb */ color: rgb(105, 80, 228);
/* oklch */ color: oklch(54.4% 0.213 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f83ee',
    500: '#6950e4',
    950: '#000000',
  },
}
SCSS
$custom: #6950e4;
$custom-light: #9f83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6950e4",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 250.135,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.21339,
    "h": 284.5
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#6950E4
secondary
#DBE4AC
accent
#D510B4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6950E4

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

Preview Lab → · Contrast checker → · Palette generator →

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