#9246EF#9246EF

#9246EF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.9% C 0.238 H 299.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9246EF
RGBrgb(146, 70, 239)
HSLhsl(267, 84%, 61%)
HSVhsv(267, 71%, 94%)
CMYKcmyk(38.9%, 70.7%, 0%, 6.3%)
CIE-LABlab(47.91, 63.52, -72.74)
CIE-LCHlch(47.91, 96.57, 311.13°)
OKLaboklab(57.92% 0.1166 -0.2077)
OKLCHoklch(57.92% 0.238 299.3)
XYZxyz(29.6203, 16.7229, 83.3119)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246EF #A3EF46
analogous
#464EEF #9246EF #E646EF
triadic
#9246EF #EF9246 #46EF92
tetradic
#9246EF #EF464E #A3EF46 #46EFE6
square
#9246EF #EF464E #A3EF46 #46EFE6
split-complementary
#9246EF #EFE646 #4EEF46
monochromatic
#550FAC #7114E4 #9246EF #B37EF4 #D4B7F9

Accessibility & contrast

On white

4.83
#9246EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9246EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246EF#FFFFFF#000000##FFFFFF
##9246EF1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#7C7096
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9246ef;
/* rgb */ color: rgb(146, 70, 239);
/* oklch */ color: oklch(57.9% 0.238 299.3);
Tailwind
colors: {
  custom: {
    50: '#b980f5',
    500: '#9246ef',
    950: '#000000',
  },
}
SCSS
$custom: #9246ef;
$custom-light: #b980f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9246ef",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 266.982,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.23817,
    "h": 299.3
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#9246EF
secondary
#CCE9A8
accent
#E1057E
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9246EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9246EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva