#9257C8#9257C8

#9257C8 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.173 H 305.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9257C8
RGBrgb(146, 87, 200)
HSLhsl(271, 51%, 56%)
HSVhsv(271, 57%, 78%)
CMYKcmyk(27%, 56.5%, 0%, 21.6%)
CIE-LABlab(48.38, 45.75, -49.79)
CIE-LCHlch(48.38, 67.61, 312.58°)
OKLaboklab(57.44% 0.101 -0.1403)
OKLCHoklch(57.44% 0.173 305.8)
XYZxyz(25.6854, 17.0977, 56.5794)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257C8 #8DC857
analogous
#5A57C8 #9257C8 #C857C6
triadic
#9257C8 #C89257 #57C892
tetradic
#9257C8 #C85A57 #8DC857 #57C6C8
square
#9257C8 #C85A57 #8DC857 #57C6C8
split-complementary
#9257C8 #C6C857 #57C85A
monochromatic
#54297C #7338AA #9257C8 #B085D7 #CEB3E6

Accessibility & contrast

On white

4.75
#9257C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9257C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9257C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257C8#FFFFFF#000000##FFFFFF
##9257C81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#896C87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9257c8;
/* rgb */ color: rgb(146, 87, 200);
/* oklch */ color: oklch(57.4% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#b589d9',
    500: '#9257c8',
    950: '#000000',
  },
}
SCSS
$custom: #9257c8;
$custom-light: #b589d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9257c8",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 271.327,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.1729,
    "h": 305.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#9257C8
secondary
#BCD5A6
accent
#DA4E91
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #9257C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9257C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva