#6F54D8#6F54D8

#6F54D8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.193 H 287.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6F54D8
RGBrgb(111, 84, 216)
HSLhsl(252, 63%, 59%)
HSVhsv(252, 61%, 85%)
CMYKcmyk(48.6%, 61.1%, 0%, 15.3%)
CIE-LABlab(45.19, 43.79, -64.29)
CIE-LCHlch(45.19, 77.79, 304.26°)
OKLaboklab(54.6% 0.0585 -0.184)
OKLCHoklch(54.6% 0.193 287.6)
XYZxyz(22.1169, 14.6770, 66.6200)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54D8 #BDD854
analogous
#547BD8 #6F54D8 #B154D8
triadic
#6F54D8 #D86F54 #54D86F
tetradic
#6F54D8 #D8547B #BDD854 #54D8B1
square
#6F54D8 #D8547B #BDD854 #54D8B1
split-complementary
#6F54D8 #D8B154 #7BD854
monochromatic
#382191 #4B2CC2 #6F54D8 #9986E3 #C3B8EF

Accessibility & contrast

On white

5.34
#6F54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6F54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54D8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54D8#FFFFFF#000000##FFFFFF
##6F54D81.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#4B738E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f54d8;
/* rgb */ color: rgb(111, 84, 216);
/* oklch */ color: oklch(54.6% 0.193 287.6);
Tailwind
colors: {
  custom: {
    50: '#a085e5',
    500: '#6f54d8',
    950: '#000000',
  },
}
SCSS
$custom: #6f54d8;
$custom-light: #a085e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54d8",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 252.273,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.19308,
    "h": 287.6
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#6F54D8
secondary
#D3DEAA
accent
#E642C4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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