#6150AF#6150AF

#6150AF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.7% C 0.146 H 288.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6150AF
RGBrgb(97, 80, 175)
HSLhsl(251, 37%, 50%)
HSVhsv(251, 54%, 69%)
CMYKcmyk(44.6%, 54.3%, 0%, 31.4%)
CIE-LABlab(40.20, 31.12, -48.60)
CIE-LCHlch(40.20, 57.71, 302.63°)
OKLaboklab(49.73% 0.0454 -0.1383)
OKLCHoklch(49.73% 0.146 288.2)
XYZxyz(15.5341, 11.3733, 41.9259)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150AF #9EAF50
analogous
#506EAF #6150AF #9150AF
triadic
#6150AF #AF6150 #50AF61
tetradic
#6150AF #AF506E #9EAF50 #50AF91
square
#6150AF #AF506E #9EAF50 #50AF91
split-complementary
#6150AF #AF9150 #6EAF50
monochromatic
#322A5B #4A3D85 #6150AF #877AC2 #ADA4D5

Accessibility & contrast

On white

6.41
#6150AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6150AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150AF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150AF#FFFFFF#000000##FFFFFF
##6150AF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#496478
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6150af;
/* rgb */ color: rgb(97, 80, 175);
/* oklch */ color: oklch(49.7% 0.146 288.2);
Tailwind
colors: {
  custom: {
    50: '#9381c7',
    500: '#6150af',
    950: '#000000',
  },
}
SCSS
$custom: #6150af;
$custom-light: #9381c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6150af",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 250.737,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.14556,
    "h": 288.2
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#6150AF
secondary
#BBC398
accent
#CD5BB9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6150AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6150AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva