#942FBF#942FBF

#942FBF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.217 H 313.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#942FBF
RGBrgb(148, 47, 191)
HSLhsl(282, 61%, 47%)
HSVhsv(282, 75%, 75%)
CMYKcmyk(22.5%, 75.4%, 0%, 25.1%)
CIE-LABlab(41.36, 62.66, -55.84)
CIE-LCHlch(41.36, 83.93, 318.30°)
OKLaboklab(52.25% 0.149 -0.1578)
OKLCHoklch(52.25% 0.217 313.4)
XYZxyz(22.6316, 12.0912, 50.4218)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FBF #5ABF2F
analogous
#4C2FBF #942FBF #BF2FA2
triadic
#942FBF #BF942F #2FBF94
tetradic
#942FBF #BF4C2F #5ABF2F #2FA2BF
square
#942FBF #BF4C2F #5ABF2F #2FA2BF
split-complementary
#942FBF #A2BF2F #2FBF4C
monochromatic
#48175D #6E238E #942FBF #AF56D5 #C687E1

Accessibility & contrast

On white

6.14
#942FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#942FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FBF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FBF#FFFFFF#000000##FFFFFF
##942FBF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#8F5075
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #942fbf;
/* rgb */ color: rgb(148, 47, 191);
/* oklch */ color: oklch(52.2% 0.217 313.4);
Tailwind
colors: {
  custom: {
    50: '#b872d3',
    500: '#942fbf',
    950: '#000000',
  },
}
SCSS
$custom: #942fbf;
$custom-light: #b872d3;
$custom-dark: #000000;
JSON
{
  "hex": "#942fbf",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 282.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.21705,
    "h": 313.4
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#942FBF
secondary
#96CB7F
accent
#E44474
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #942FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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