#9255BE#9255BE

#9255BE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.164 H 308.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9255BE
RGBrgb(146, 85, 190)
HSLhsl(275, 45%, 54%)
HSVhsv(275, 55%, 75%)
CMYKcmyk(23.2%, 55.3%, 0%, 25.5%)
CIE-LABlab(47.40, 44.48, -45.58)
CIE-LCHlch(47.40, 63.68, 314.30°)
OKLaboklab(56.53% 0.1033 -0.128)
OKLCHoklch(56.53% 0.164 308.9)
XYZxyz(24.3950, 16.3261, 50.5713)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255BE #81BE55
analogous
#5E55BE #9255BE #BE55B6
triadic
#9255BE #BE9255 #55BE92
tetradic
#9255BE #BE5E55 #81BE55 #55B6BE
square
#9255BE #BE5E55 #81BE55 #55B6BE
split-complementary
#9255BE #B6BE55 #55BE5E
monochromatic
#522A6E #733B9B #9255BE #AE81CF #CBAEE0

Accessibility & contrast

On white

4.92
#9255BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9255BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255BE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255BE#FFFFFF#000000##FFFFFF
##9255BE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#8C6881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9255be;
/* rgb */ color: rgb(146, 85, 190);
/* oklch */ color: oklch(56.5% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#b587d2',
    500: '#9255be',
    950: '#000000',
  },
}
SCSS
$custom: #9255be;
$custom-light: #b587d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9255be",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 274.857,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.16444,
    "h": 308.9
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#9255BE
secondary
#B4CEA1
accent
#D45389
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9255BE

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

Preview Lab → · Contrast checker → · Palette generator →

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