#6A4FF0#6A4FF0

#6A4FF0 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.229 H 283.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6A4FF0
RGBrgb(106, 79, 240)
HSLhsl(250, 84%, 63%)
HSVhsv(250, 67%, 94%)
CMYKcmyk(55.8%, 67.1%, 0%, 5.9%)
CIE-LABlab(45.56, 52.70, -77.30)
CIE-LCHlch(45.56, 93.56, 304.29°)
OKLaboklab(55.33% 0.0541 -0.2224)
OKLCHoklch(55.33% 0.229 283.7)
XYZxyz(24.4632, 14.9459, 84.0170)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FF0 #D5F04F
analogous
#4F85F0 #6A4FF0 #BA4FF0
triadic
#6A4FF0 #F06A4F #4FF06A
tetradic
#6A4FF0 #F04F85 #D5F04F #4FF0BA
square
#6A4FF0 #F04F85 #D5F04F #4FF0BA
split-complementary
#6A4FF0 #F0BA4F #85F04F
monochromatic
#2B0FB5 #3A17EB #6A4FF0 #9A87F5 #C9C0FA

Accessibility & contrast

On white

5.26
#6A4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A4FF0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FF0#FFFFFF#000000##FFFFFF
##6A4FF01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#267999
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a4ff0;
/* rgb */ color: rgb(106, 79, 240);
/* oklch */ color: oklch(55.3% 0.229 283.7);
Tailwind
colors: {
  custom: {
    50: '#a182f6',
    500: '#6a4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ff0;
$custom-light: #a182f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ff0",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 250.062,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.22888,
    "h": 283.7
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#6A4FF0
secondary
#E1EBB0
accent
#E105BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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