#7233B1#7233B1

#7233B1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.190 H 302.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7233B1
RGBrgb(114, 51, 177)
HSLhsl(270, 55%, 45%)
HSVhsv(270, 71%, 69%)
CMYKcmyk(35.6%, 71.2%, 0%, 30.6%)
CIE-LABlab(36.21, 51.35, -56.14)
CIE-LCHlch(36.21, 76.08, 312.45°)
OKLaboklab(47.29% 0.1018 -0.1599)
OKLCHoklch(47.29% 0.19 302.5)
XYZxyz(16.0572, 9.1194, 42.5007)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233B1 #72B133
analogous
#3333B1 #7233B1 #B133B1
triadic
#7233B1 #B17233 #33B172
tetradic
#7233B1 #B13333 #72B133 #33B1B1
square
#7233B1 #B13333 #72B133 #33B1B1
split-complementary
#7233B1 #B1B133 #33B133
monochromatic
#351852 #532581 #7233B1 #9154CE #AF83DB

Accessibility & contrast

On white

7.44
#7233B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7233B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233B1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233B1#FFFFFF#000000##FFFFFF
##7233B11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#65516E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7233b1;
/* rgb */ color: rgb(114, 51, 177);
/* oklch */ color: oklch(47.3% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#a070c9',
    500: '#7233b1',
    950: '#000000',
  },
}
SCSS
$custom: #7233b1;
$custom-light: #a070c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7233b1",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.18954,
    "h": 302.5
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#7233B1
secondary
#A0C57B
accent
#DF4994
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7233B1

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

Preview Lab → · Contrast checker → · Palette generator →

#7233B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva