#6923BA#6923BA

#6923BA is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.214 H 297.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6923BA
RGBrgb(105, 35, 186)
HSLhsl(268, 68%, 43%)
HSVhsv(268, 81%, 73%)
CMYKcmyk(43.5%, 81.2%, 0%, 27.1%)
CIE-LABlab(33.46, 58.74, -66.02)
CIE-LCHlch(33.46, 88.37, 311.66°)
OKLaboklab(45.34% 0.1002 -0.1891)
OKLCHoklch(45.34% 0.214 297.9)
XYZxyz(15.2873, 7.7502, 47.1354)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6923BA #74BA23
analogous
#2328BA #6923BA #B423BA
triadic
#6923BA #BA6923 #23BA69
tetradic
#6923BA #BA2328 #74BA23 #23BAB4
square
#6923BA #BA2328 #74BA23 #23BAB4
split-complementary
#6923BA #BAB423 #28BA23
monochromatic
#2F1053 #4C1986 #6923BA #873FDB #A873E5

Accessibility & contrast

On white

8.24
#6923BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6923BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6923BA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6923BA#FFFFFF#000000##FFFFFF
##6923BA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#544E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6923ba;
/* rgb */ color: rgb(105, 35, 186);
/* oklch */ color: oklch(45.3% 0.214 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c68d0',
    500: '#6923ba',
    950: '#000000',
  },
}
SCSS
$custom: #6923ba;
$custom-light: #9c68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6923ba",
  "rgb": {
    "r": 105,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 267.815,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.21401,
    "h": 297.9
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#6923BA
secondary
#A0CC6D
accent
#EB3D9A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6923BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6923BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva