#6A43CB#6A43CB

#6A43CB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.199 H 290.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6A43CB
RGBrgb(106, 67, 203)
HSLhsl(257, 57%, 53%)
HSVhsv(257, 67%, 80%)
CMYKcmyk(47.8%, 67%, 0%, 20.4%)
CIE-LABlab(40.23, 48.58, -64.90)
CIE-LCHlch(40.23, 81.07, 306.82°)
OKLaboklab(50.59% 0.0703 -0.186)
OKLCHoklch(50.59% 0.199 290.7)
XYZxyz(18.7275, 11.3896, 57.7000)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A43CB #A4CB43
analogous
#4360CB #6A43CB #AE43CB
triadic
#6A43CB #CB6A43 #43CB6A
tetradic
#6A43CB #CB4360 #A4CB43 #43CBAE
square
#6A43CB #CB4360 #A4CB43 #43CBAE
split-complementary
#6A43CB #CBAE43 #60CB43
monochromatic
#382074 #4F2DA4 #6A43CB #9073D8 #B6A3E6

Accessibility & contrast

On white

6.41
#6A43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6A43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A43CB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A43CB#FFFFFF#000000##FFFFFF
##6A43CB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#4B6581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a43cb;
/* rgb */ color: rgb(106, 67, 203);
/* oklch */ color: oklch(50.6% 0.199 290.7);
Tailwind
colors: {
  custom: {
    50: '#9d7adc',
    500: '#6a43cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a43cb;
$custom-light: #9d7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a43cb",
  "rgb": {
    "r": 106,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 257.206,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.1988,
    "h": 290.7
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#6A43CB
secondary
#C1D298
accent
#E048B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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