#6950E2#6950E2

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

Color values

HEX#6950E2
RGBrgb(105, 80, 226)
HSLhsl(250, 72%, 60%)
HSVhsv(250, 65%, 89%)
CMYKcmyk(53.5%, 64.6%, 0%, 11.4%)
CIE-LABlab(44.56, 47.89, -71.03)
CIE-LCHlch(44.56, 85.66, 303.99°)
OKLaboklab(54.25% 0.0537 -0.204)
OKLCHoklch(54.25% 0.211 284.7)
XYZxyz(22.4177, 14.2303, 73.5022)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950E2 #C9E250
analogous
#5080E2 #6950E2 #B250E2
triadic
#6950E2 #E26950 #50E269
tetradic
#6950E2 #E25080 #C9E250 #50E2B2
square
#6950E2 #E25080 #C9E250 #50E2B2
split-complementary
#6950E2 #E2B250 #80E250
monochromatic
#311A9E #4123D2 #6950E2 #9684EB #C3B9F3

Accessibility & contrast

On white

5.46
#6950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6950E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950E2#FFFFFF#000000##FFFFFF
##6950E21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#357492
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6950e2;
/* rgb */ color: rgb(105, 80, 226);
/* oklch */ color: oklch(54.2% 0.211 284.7);
Tailwind
colors: {
  custom: {
    50: '#9e83ec',
    500: '#6950e2',
    950: '#000000',
  },
}
SCSS
$custom: #6950e2;
$custom-light: #9e83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6950e2",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 250.274,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.21096,
    "h": 284.7
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#6950E2
secondary
#D9E3AB
accent
#EE39CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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