#942E90#942E90

#942E90 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.177 H 329.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#942E90
RGBrgb(148, 46, 144)
HSLhsl(302, 53%, 38%)
HSVhsv(302, 69%, 58%)
CMYKcmyk(0%, 68.9%, 2.7%, 42%)
CIE-LABlab(38.31, 54.21, -32.63)
CIE-LCHlch(38.31, 63.27, 328.96°)
OKLaboklab(49.14% 0.1529 -0.09)
OKLCHoklch(49.14% 0.177 329.5)
XYZxyz(18.2236, 10.2648, 27.4016)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E90 #2E9432
analogous
#652E94 #942E90 #942E5D
triadic
#942E90 #90942E #2E9094
tetradic
#942E90 #94652E #2E9432 #2E5D94
square
#942E90 #94652E #2E9432 #2E5D94
split-complementary
#942E90 #5D942E #2E9465
monochromatic
#371135 #651F63 #942E90 #C33DBD #D16BCD

Accessibility & contrast

On white

6.88
#942E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#942E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E90
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E90#FFFFFF#000000##FFFFFF
##942E901.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#993B5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942e90;
/* rgb */ color: rgb(148, 46, 144);
/* oklch */ color: oklch(49.1% 0.177 329.5);
Tailwind
colors: {
  custom: {
    50: '#b770b1',
    500: '#942e90',
    950: '#000000',
  },
}
SCSS
$custom: #942e90;
$custom-light: #b770b1;
$custom-dark: #000000;
JSON
{
  "hex": "#942e90",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 302.353,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.17741,
    "h": 329.5
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#942E90
secondary
#66B869
accent
#DC514C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E90

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

Preview Lab → · Contrast checker → · Palette generator →

#942E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva