#6950CB#6950CB

#6950CB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.182 H 287.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6950CB
RGBrgb(105, 80, 203)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.3%, 60.6%, 0%, 20.4%)
CIE-LABlab(42.84, 41.12, -60.66)
CIE-LCHlch(42.84, 73.29, 304.14°)
OKLaboklab(52.46% 0.0556 -0.1735)
OKLCHoklch(52.46% 0.182 287.8)
XYZxyz(19.4707, 13.0515, 57.9816)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950CB #B2CB50
analogous
#5074CB #6950CB #A650CB
triadic
#6950CB #CB6950 #50CB69
tetradic
#6950CB #CB5074 #B2CB50 #50CBA6
square
#6950CB #CB5074 #B2CB50 #50CBA6
split-complementary
#6950CB #CBA650 #74CB50
monochromatic
#36257C #4B33AB #6950CB #917FD9 #BAAEE7

Accessibility & contrast

On white

5.82
#6950CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6950CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950CB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950CB#FFFFFF#000000##FFFFFF
##6950CB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#486D86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6950cb;
/* rgb */ color: rgb(105, 80, 203);
/* oklch */ color: oklch(52.5% 0.182 287.8);
Tailwind
colors: {
  custom: {
    50: '#9b82dc',
    500: '#6950cb',
    950: '#000000',
  },
}
SCSS
$custom: #6950cb;
$custom-light: #9b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6950cb",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 252.195,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.18221,
    "h": 287.8
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#6950CB
secondary
#CBD5A2
accent
#DE4AC0
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6950CB

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

Preview Lab → · Contrast checker → · Palette generator →

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