#6950E6#6950E6

#6950E6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.216 H 284.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6950E6
RGBrgb(105, 80, 230)
HSLhsl(250, 75%, 61%)
HSVhsv(250, 65%, 90%)
CMYKcmyk(54.3%, 65.2%, 0%, 9.8%)
CIE-LABlab(44.87, 49.06, -72.79)
CIE-LCHlch(44.87, 87.78, 303.98°)
OKLaboklab(54.57% 0.0532 -0.2092)
OKLCHoklch(54.57% 0.216 284.3)
XYZxyz(22.9729, 14.4524, 76.4266)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950E6 #CDE650
analogous
#5082E6 #6950E6 #B450E6
triadic
#6950E6 #E66950 #50E669
tetradic
#6950E6 #E65082 #CDE650 #50E6B4
square
#6950E6 #E65082 #CDE650 #50E6B4
split-complementary
#6950E6 #E6B450 #82E650
monochromatic
#2F17A4 #3E1FDA #6950E6 #9786EE #C5BBF5

Accessibility & contrast

On white

5.40
#6950E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6950E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950E6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950E6#FFFFFF#000000##FFFFFF
##6950E61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#307694
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6950e6;
/* rgb */ color: rgb(105, 80, 230);
/* oklch */ color: oklch(54.6% 0.216 284.3);
Tailwind
colors: {
  custom: {
    50: '#9f83ef',
    500: '#6950e6',
    950: '#000000',
  },
}
SCSS
$custom: #6950e6;
$custom-light: #9f83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6950e6",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 250,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.21584,
    "h": 284.3
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#6950E6
secondary
#DCE5AC
accent
#D70EB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6950E6

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

Preview Lab → · Contrast checker → · Palette generator →

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