#9257DE#9257DE

#9257DE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.198 H 300.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9257DE
RGBrgb(146, 87, 222)
HSLhsl(266, 67%, 61%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.2%, 60.8%, 0%, 12.9%)
CIE-LABlab(49.74, 51.08, -60.18)
CIE-LCHlch(49.74, 78.93, 310.33°)
OKLaboklab(58.86% 0.1008 -0.1708)
OKLCHoklch(58.86% 0.198 300.5)
XYZxyz(28.4439, 18.2011, 71.1077)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257DE #A3DE57
analogous
#575FDE #9257DE #D557DE
triadic
#9257DE #DE9257 #57DE92
tetradic
#9257DE #DE575F #A3DE57 #57DED5
square
#9257DE #DE575F #A3DE57 #57DED5
split-complementary
#9257DE #DED557 #5FDE57
monochromatic
#551F9C #7129CF #9257DE #B38AE8 #D4BDF2

Accessibility & contrast

On white

4.53
#9257DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9257DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257DE#FFFFFF#000000##000000
##9257DE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#827492
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9257de;
/* rgb */ color: rgb(146, 87, 222);
/* oklch */ color: oklch(58.9% 0.198 300.5);
Tailwind
colors: {
  custom: {
    50: '#b789e9',
    500: '#9257de',
    950: '#000000',
  },
}
SCSS
$custom: #9257de;
$custom-light: #b789e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9257de",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 266.222,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58864,
    "c": 0.19833,
    "h": 300.5
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#9257DE
secondary
#CCE2AF
accent
#CF167E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257DE

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

Preview Lab → · Contrast checker → · Palette generator →

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