#9240BE#9240BE

#9240BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.195 H 311.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9240BE
RGBrgb(146, 64, 190)
HSLhsl(279, 50%, 50%)
HSVhsv(279, 66%, 75%)
CMYKcmyk(23.2%, 66.3%, 0%, 25.5%)
CIE-LABlab(43.50, 55.02, -51.81)
CIE-LCHlch(43.50, 75.57, 316.72°)
OKLaboklab(53.7% 0.1293 -0.1462)
OKLCHoklch(53.7% 0.195 311.5)
XYZxyz(22.9800, 13.4961, 50.0997)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9240BE #6CBE40
analogous
#5340BE #9240BE #BE40AB
triadic
#9240BE #BE9240 #40BE92
tetradic
#9240BE #BE5340 #6CBE40 #40ABBE
square
#9240BE #BE5340 #6CBE40 #40ABBE
split-complementary
#9240BE #ABBE40 #40BE53
monochromatic
#4C2162 #6F3190 #9240BE #AC6DCE #C69BDD

Accessibility & contrast

On white

5.68
#9240BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9240BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9240BE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9240BE#FFFFFF#000000##FFFFFF
##9240BE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#8D5A7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9240be;
/* rgb */ color: rgb(146, 64, 190);
/* oklch */ color: oklch(53.7% 0.195 311.5);
Tailwind
colors: {
  custom: {
    50: '#b67bd2',
    500: '#9240be',
    950: '#000000',
  },
}
SCSS
$custom: #9240be;
$custom-light: #b67bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9240be",
  "rgb": {
    "r": 146,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 279.048,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.19512,
    "h": 311.5
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#9240BE
secondary
#A4C990
accent
#D94F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9240BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9240BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva