#6B47DB#6B47DB

#6B47DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.213 H 287.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6B47DB
RGBrgb(107, 71, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(51.1%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.38, 51.12, -70.60)
CIE-LCHlch(42.38, 87.16, 305.91°)
OKLaboklab(52.54% 0.0655 -0.2027)
OKLCHoklch(52.54% 0.213 287.9)
XYZxyz(21.0991, 12.7457, 68.3525)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47DB #B7DB47
analogous
#476DDB #6B47DB #B547DB
triadic
#6B47DB #DB6B47 #47DB6B
tetradic
#6B47DB #DB476D #B7DB47 #47DBB5
square
#6B47DB #DB476D #B7DB47 #47DBB5
split-complementary
#6B47DB #DBB547 #6DDB47
monochromatic
#371B8C #4B25BF #6B47DB #947AE5 #BDADEF

Accessibility & contrast

On white

5.92
#6B47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6B47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47DB#FFFFFF#000000##FFFFFF
##6B47DB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#416D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b47db;
/* rgb */ color: rgb(107, 71, 219);
/* oklch */ color: oklch(52.5% 0.213 287.9);
Tailwind
colors: {
  custom: {
    50: '#9f7de7',
    500: '#6b47db',
    950: '#000000',
  },
}
SCSS
$custom: #6b47db;
$custom-light: #9f7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47db",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 254.595,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.21299,
    "h": 287.9
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#6B47DB
secondary
#CEDDA1
accent
#EA3EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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