#6F54CA#6F54CA

#6F54CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.175 H 289.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6F54CA
RGBrgb(111, 84, 202)
HSLhsl(254, 53%, 56%)
HSVhsv(254, 58%, 79%)
CMYKcmyk(45%, 58.4%, 0%, 20.8%)
CIE-LABlab(44.21, 39.76, -57.84)
CIE-LCHlch(44.21, 70.19, 304.50°)
OKLaboklab(53.57% 0.0591 -0.165)
OKLCHoklch(53.57% 0.175 289.7)
XYZxyz(20.3835, 13.9837, 57.4908)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54CA #AFCA54
analogous
#5474CA #6F54CA #AA54CA
triadic
#6F54CA #CA6F54 #54CA6F
tetradic
#6F54CA #CA5474 #AFCA54 #54CAAA
square
#6F54CA #CA5474 #AFCA54 #54CAAA
split-complementary
#6F54CA #CAAA54 #74CA54
monochromatic
#3A277D #5035AC #6F54CA #9683D8 #BEB1E7

Accessibility & contrast

On white

5.53
#6F54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6F54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54CA#FFFFFF#000000##FFFFFF
##6F54CA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0066C7
Tritanopia (blue-blind)
#536E87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f54ca;
/* rgb */ color: rgb(111, 84, 202);
/* oklch */ color: oklch(53.6% 0.175 289.7);
Tailwind
colors: {
  custom: {
    50: '#9e85db',
    500: '#6f54ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f54ca;
$custom-light: #9e85db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54ca",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 253.729,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.17529,
    "h": 289.7
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#6F54CA
secondary
#CAD5A5
accent
#DC4CBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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