#6F47D8#6F47D8

#6F47D8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.209 H 290.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6F47D8
RGBrgb(111, 71, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 67%, 85%)
CMYKcmyk(48.6%, 67.1%, 0%, 15.3%)
CIE-LABlab(42.53, 50.96, -68.62)
CIE-LCHlch(42.53, 85.48, 306.60°)
OKLaboklab(52.67% 0.0714 -0.1967)
OKLCHoklch(52.67% 0.209 290)
XYZxyz(21.1999, 12.8430, 66.3143)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47D8 #B0D847
analogous
#4768D8 #6F47D8 #B847D8
triadic
#6F47D8 #D86F47 #47D86F
tetradic
#6F47D8 #D84768 #B0D847 #47D8B8
square
#6F47D8 #D84768 #B0D847 #47D8B8
split-complementary
#6F47D8 #D8B847 #68D847
monochromatic
#3A1D88 #5027BA #6F47D8 #9779E3 #BEACED

Accessibility & contrast

On white

5.88
#6F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6F47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47D8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47D8#FFFFFF#000000##FFFFFF
##6F47D81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#4C6B8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f47d8;
/* rgb */ color: rgb(111, 71, 216);
/* oklch */ color: oklch(52.7% 0.209 290.0);
Tailwind
colors: {
  custom: {
    50: '#a17de5',
    500: '#6f47d8',
    950: '#000000',
  },
}
SCSS
$custom: #6f47d8;
$custom-light: #a17de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47d8",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 256.552,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.20931,
    "h": 290
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#6F47D8
secondary
#CBDBA0
accent
#E840BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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