#6B5FB2#6B5FB2

#6B5FB2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.127 H 288.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6B5FB2
RGBrgb(107, 95, 178)
HSLhsl(249, 35%, 54%)
HSVhsv(249, 47%, 70%)
CMYKcmyk(39.9%, 46.6%, 0%, 30.2%)
CIE-LABlab(44.98, 25.31, -42.68)
CIE-LCHlch(44.98, 49.62, 300.67°)
OKLaboklab(53.57% 0.0391 -0.1206)
OKLCHoklch(53.57% 0.127 288)
XYZxyz(18.1893, 14.5240, 43.9559)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5FB2 #A6B25F
analogous
#5F7CB2 #6B5FB2 #945FB2
triadic
#6B5FB2 #B26B5F #5FB26B
tetradic
#6B5FB2 #B25F7C #A6B25F #5FB294
square
#6B5FB2 #B25F7C #A6B25F #5FB294
split-complementary
#6B5FB2 #B2945F #7CB25F
monochromatic
#393166 #50458F #6B5FB2 #9188C6 #B7B2DA

Accessibility & contrast

On white

5.38
#6B5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6B5FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5FB2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5FB2#FFFFFF#000000##FFFFFF
##6B5FB21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#577080
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b5fb2;
/* rgb */ color: rgb(107, 95, 178);
/* oklch */ color: oklch(53.6% 0.127 288.0);
Tailwind
colors: {
  custom: {
    50: '#998cc9',
    500: '#6b5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5fb2;
$custom-light: #998cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5fb2",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 248.675,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.12681,
    "h": 288
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#6B5FB2
secondary
#C3C8A5
accent
#CB5DBB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6B5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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