#6B3CEF#6B3CEF

#6B3CEF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.247 H 286.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6B3CEF
RGBrgb(107, 60, 239)
HSLhsl(256, 85%, 59%)
HSVhsv(256, 75%, 94%)
CMYKcmyk(55.2%, 74.9%, 0%, 6.3%)
CIE-LABlab(42.14, 62.14, -82.35)
CIE-LCHlch(42.14, 103.17, 307.04°)
OKLaboklab(52.9% 0.0701 -0.2371)
OKLCHoklch(52.9% 0.247 286.5)
XYZxyz(23.2546, 12.5882, 82.8490)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CEF #C0EF3C
analogous
#3C66EF #6B3CEF #C43CEF
triadic
#6B3CEF #EF6B3C #3CEF6B
tetradic
#6B3CEF #EF3C66 #C0EF3C #3CEFC4
square
#6B3CEF #EF3C66 #C0EF3C #3CEFC4
split-complementary
#6B3CEF #EFC43C #66EF3C
monochromatic
#350DA3 #4712DC #6B3CEF #9675F4 #C1ADF8

Accessibility & contrast

On white

5.97
#6B3CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6B3CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3CEF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CEF#FFFFFF#000000##FFFFFF
##6B3CEF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F4
Deuteranopia (green-blind)
#005EEC
Tritanopia (blue-blind)
#2E6F94
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b3cef;
/* rgb */ color: rgb(107, 60, 239);
/* oklch */ color: oklch(52.9% 0.247 286.5);
Tailwind
colors: {
  custom: {
    50: '#a377f6',
    500: '#6b3cef',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cef;
$custom-light: #a377f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cef",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 239
  },
  "hsl": {
    "h": 255.754,
    "s": 84.834,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.24721,
    "h": 286.5
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#6B3CEF
secondary
#D4E7A0
accent
#FB2DC5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6B3CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#6B3CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva