#6F54DD#6F54DD

#6F54DD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.199 H 287.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6F54DD
RGBrgb(111, 84, 221)
HSLhsl(252, 67%, 60%)
HSVhsv(252, 62%, 87%)
CMYKcmyk(49.8%, 62%, 0%, 13.3%)
CIE-LABlab(45.55, 45.24, -66.55)
CIE-LCHlch(45.55, 80.48, 304.21°)
OKLaboklab(54.97% 0.0581 -0.1907)
OKLCHoklch(54.97% 0.199 287)
XYZxyz(22.7732, 14.9395, 70.0763)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54DD #C2DD54
analogous
#547DDD #6F54DD #B454DD
triadic
#6F54DD #DD6F54 #54DD6F
tetradic
#6F54DD #DD547D #C2DD54 #54DDB4
square
#6F54DD #DD547D #C2DD54 #54DDB4
split-complementary
#6F54DD #DDB454 #7DDD54
monochromatic
#361E98 #4928CB #6F54DD #9A87E7 #C5BAF1

Accessibility & contrast

On white

5.27
#6F54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6F54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54DD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54DD#FFFFFF#000000##FFFFFF
##6F54DD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#477591
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f54dd;
/* rgb */ color: rgb(111, 84, 221);
/* oklch */ color: oklch(55.0% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#a185e8',
    500: '#6f54dd',
    950: '#000000',
  },
}
SCSS
$custom: #6f54dd;
$custom-light: #a185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54dd",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 251.825,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.19933,
    "h": 287
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#6F54DD
secondary
#D6E1AC
accent
#EA3EC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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