#7235B7#7235B7

#7235B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.194 H 300.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7235B7
RGBrgb(114, 53, 183)
HSLhsl(268, 55%, 46%)
HSVhsv(268, 71%, 72%)
CMYKcmyk(37.7%, 71%, 0%, 28.2%)
CIE-LABlab(37.01, 51.88, -58.40)
CIE-LCHlch(37.01, 78.12, 311.62°)
OKLaboklab(48% 0.0987 -0.1665)
OKLCHoklch(48% 0.194 300.7)
XYZxyz(16.7577, 9.5424, 45.7496)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235B7 #7AB735
analogous
#3539B7 #7235B7 #B335B7
triadic
#7235B7 #B77235 #35B772
tetradic
#7235B7 #B73539 #7AB735 #35B7B3
square
#7235B7 #B73539 #7AB735 #35B7B3
split-complementary
#7235B7 #B7B335 #39B735
monochromatic
#371A58 #542788 #7235B7 #915ACF #B189DD

Accessibility & contrast

On white

7.22
#7235B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7235B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235B7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235B7#FFFFFF#000000##FFFFFF
##7235B71.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#635572
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7235b7;
/* rgb */ color: rgb(114, 53, 183);
/* oklch */ color: oklch(48.0% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#a071cd',
    500: '#7235b7',
    950: '#000000',
  },
}
SCSS
$custom: #7235b7;
$custom-light: #a071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7235b7",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 268.154,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.19361,
    "h": 300.7
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#7235B7
secondary
#A6C781
accent
#DE4998
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7235B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7235B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva